From 5983c606e115ff21b3c8202be9d3c3b39c78e84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 6 Aug 2019 18:59:26 -0400 Subject: [PATCH] Ensure user account menu stays on top of main nav background Also keep columns (don't stack them) on mobile but hide most of them --- web/themes/custom/geofresco/src/global/_layout.scss | 6 ++---- .../custom/geofresco/src/templates/layout/page.html.twig | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/web/themes/custom/geofresco/src/global/_layout.scss b/web/themes/custom/geofresco/src/global/_layout.scss index c0021e3..74b7fd5 100644 --- a/web/themes/custom/geofresco/src/global/_layout.scss +++ b/web/themes/custom/geofresco/src/global/_layout.scss @@ -1,8 +1,6 @@ @charset "UTF-8"; // Extend or override Bulma's layouts ../../node_modules/bulma/sass/layout -/* -.hero-body { - padding: 2rem 1.5rem; +.secondary-menus { + z-index: 40; } -*/ diff --git a/web/themes/custom/geofresco/src/templates/layout/page.html.twig b/web/themes/custom/geofresco/src/templates/layout/page.html.twig index ff1f747..9e2bafc 100644 --- a/web/themes/custom/geofresco/src/templates/layout/page.html.twig +++ b/web/themes/custom/geofresco/src/templates/layout/page.html.twig @@ -18,9 +18,9 @@ {% block navbar %} {# Add a new region #} {% if page.header_user or page.header_search %} -
-
-
+
+
+
{% if page.header_user %}