Skip to content
Snippets Groups Projects
Unverified Commit 981eb398 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #679 from OpenTechFund/feature/604-remove-list-info-lab-page

Remote listing intro on lab pages and only add small lab icon.
parents 13e35fb5 70bda273
No related branches found
No related tags found
No related merge requests found
...@@ -2,23 +2,15 @@ ...@@ -2,23 +2,15 @@
{% block header_modifier %}header--grey-pixels{% endblock %} {% block header_modifier %}header--grey-pixels{% endblock %}
{# Dont include fixed apply button on this page #} {# Dont include fixed apply button on this page #}
{% block apply_button %}{% endblock %} {% block apply_button %}{% endblock %}
{% load wagtailcore_tags navigation_tags static %} {% load wagtailcore_tags wagtailimages_tags navigation_tags static %}
{% block content %} {% block content %}
{% include "public_funds/includes/lab_apply_cta.html" %} {% include "public_funds/includes/lab_apply_cta.html" %}
<div class="wrapper"> <div class="wrapper">
<section class="section section--main section--top-bottom-space"> <section class="section section--main section--top-bottom-space">
<div class="media-box media-box--reverse media-box--bottom-space"> {% if page.icon %}
{% include "utils/includes/media_box_icon.html" with page_icon=page.icon %} {% image page.icon fill-100x100 class="image--float-small" %}
{% endif %}
<div class="media-box__content">
<h4>{{ page.title }}</h4>
{% if page.introduction %}
<p class="media-box__teaser">{{ page.introduction }}</p>
{% endif %}
</div>
</div>
{% include_block page.body %} {% include_block page.body %}
</section> </section>
</div> </div>
......
...@@ -15,4 +15,14 @@ ...@@ -15,4 +15,14 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
&--float-small {
display: block;
margin: 0 auto 10px auto;
@include media-query(small-tablet) {
float: right;
margin: 10px 0 10px 10px;
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment