*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Verified Commit d967f38d authored by Tsepelakis, Sotirios's avatar Tsepelakis, Sotirios 🎯
Browse files

Remove inline styling

Closes #32
parent a733bcdb
No related branches found
No related tags found
1 merge request!93Minor refactoring & enhancements
......@@ -204,3 +204,7 @@ h3.smaller-text {
.cursor-pointer {
cursor: pointer;
}
.no-shrink {
flex-shrink: 0;
}
......@@ -9,7 +9,7 @@
{%- extends config.BASE_TEMPLATE %}
{%- block page_hero %}
<section id="hero" class="contact" style="flex-shrink: 0;"></section>
  • Author Owner

    This styling seems to have no effect, as seen from the browser console. This section does not seem to be a flex item since its parent does not have a display: flex or display: flex-inline property. The same applies to the other sections as well.

  • Please register or sign in to reply
<section id="hero" class="contact no-shrink"></section>
{%- endblock page_hero %}
{%- block page_body %}
......
......@@ -17,7 +17,7 @@
{%- endblock %}
{%- block page_hero %}
<section class="frontpage" id="hero" style="flex-shrink: 0;">
<section class="frontpage no-shrink" id="hero">
{% include "invenio_theme_tuw/search_bar.html" %}
</section>
{%- endblock page_hero %}
......
......@@ -9,7 +9,7 @@
{%- extends config.BASE_TEMPLATE %}
{%- block page_hero %}
<section id="hero" class="policies" style="flex-shrink: 0;"></section>
<section id="hero" class="policies no-shrink"></section>
{%- endblock page_hero %}
{%- block page_body %}
......
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