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", +