]> git.parisson.com Git - mezzo.git/commitdiff
Fix the header menu on tablet devices
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 9 Nov 2016 08:50:50 +0000 (09:50 +0100)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 9 Nov 2016 08:50:50 +0000 (09:50 +0100)
app/static/src/sass/modules/navs/_nav-header.scss
app/templates/pages/menus/header_tree_primary.html

index 91172a20c4f4a76ae650987ed61a66cacf744286..2ce1b6d2b1577e25cbf018aef096343cf09735fa 100644 (file)
@@ -285,10 +285,6 @@ $module: ".nav-header";
                 @include font-size(m);
             }
 
-            @include mq($until: md) {
-                margin-top: 10px;
-            }
-
         }
 
     }
index f516b257afe218efae43f68cd3b2e764cfe7fd73..a0eb55e54439fb95bf5d2ecbc37e3fb936eec1d1 100644 (file)
@@ -14,7 +14,7 @@
         <div class="row">
             {% for page in page_branch %}
                 {% if page.in_menu %}
-                    <ul class="unstyled-list col-sm-6 col-md-3">
+                    <ul class="unstyled-list col-sm-3 col-md-3">
                         <li class="nav-header__item-sub nav-header__item-sub--first{% if page.is_current_or_ascendant %} active{% endif %}">
                             <a class="" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>