From 1fa3ba92f1b5697a7274aa124a31c286eb2b4a09 Mon Sep 17 00:00:00 2001 From: Evan Willhite Date: Tue, 11 Dec 2018 11:38:17 -0600 Subject: [PATCH] 291: move icon inside navigation --- .../menus/main-menu/_00-main-menu.scss | 19 +++++----- .../menus/main-menu/main-menu.twig | 36 ++++++++++--------- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/components/_patterns/02-molecules/menus/main-menu/_00-main-menu.scss b/components/_patterns/02-molecules/menus/main-menu/_00-main-menu.scss index a264d09f..2e31da58 100644 --- a/components/_patterns/02-molecules/menus/main-menu/_00-main-menu.scss +++ b/components/_patterns/02-molecules/menus/main-menu/_00-main-menu.scss @@ -10,7 +10,15 @@ $main-menu-medium: 43em; } &--open { + background-color: $white; display: block; + height: 85%; + left: 0; + overflow-y: scroll; + position: fixed; + top: 134px; + right: 0; + width: 100%; } } @@ -25,17 +33,6 @@ $main-menu-medium: 43em; @include breakpoint($main-menu-medium) { border-bottom: none; } - - &--open { - position: fixed; - top: 134px; - left: 0; - right: 0; - width: 100%; - height: 85%; - overflow-y: scroll; - background-color: $white; - } } // diff --git a/components/_patterns/02-molecules/menus/main-menu/main-menu.twig b/components/_patterns/02-molecules/menus/main-menu/main-menu.twig index b79675ae..ddcf028e 100644 --- a/components/_patterns/02-molecules/menus/main-menu/main-menu.twig +++ b/components/_patterns/02-molecules/menus/main-menu/main-menu.twig @@ -1,21 +1,23 @@ {{ attach_library('emulsify/main-menu') }} - - - {% include "@atoms/04-images/icons/_icon.twig" with { - icon_base_class: "icon", - icon_blockname: "toggle-expand", - icon_name: "bars", +