diff --git a/assets/css/common/_header.scss b/assets/css/common/_header.scss index e79e780a..5b159840 100644 --- a/assets/css/common/_header.scss +++ b/assets/css/common/_header.scss @@ -23,6 +23,11 @@ padding-left: 6px; } +.header__navigation { + display: flex; + flex-wrap: wrap; +} + a.header__link { display: inline-block; padding: 0 $header_spacing; diff --git a/lib/philomena_web/templates/layout/_header_navigation.html.slime b/lib/philomena_web/templates/layout/_header_navigation.html.slime index 034506f4..112b0c57 100644 --- a/lib/philomena_web/templates/layout/_header_navigation.html.slime +++ b/lib/philomena_web/templates/layout/_header_navigation.html.slime @@ -1,4 +1,4 @@ -.hide-mobile +.hide-mobile.header__navigation .dropdown.header__dropdown a.header__link href="/images" | Images