diff --git a/code_export.txt b/code_export.txt index 5ef8039..3b53c35 100644 --- a/code_export.txt +++ b/code_export.txt @@ -3157,11 +3157,11 @@ footer hr { - + - + """ @@ -3538,11 +3538,11 @@ footer hr { - + - + """ @@ -5783,12 +5783,12 @@ footer hr { - + - + """ @@ -6120,12 +6120,12 @@ footer hr { - + - + """ @@ -7159,7 +7159,7 @@ footer hr { - + """ @@ -7503,7 +7503,7 @@ footer hr { - + """ @@ -9959,7 +9959,7 @@ footer hr { - + """ @@ -10303,7 +10303,7 @@ footer hr { - + """ @@ -11534,12 +11534,12 @@ document.addEventListener('DOMContentLoaded', function() { - + - + """ @@ -11791,12 +11791,12 @@ document.addEventListener('DOMContentLoaded', function() { - + - + """ @@ -15293,12 +15293,12 @@ msos spletna stran - + - + """ @@ -15550,12 +15550,12 @@ msos spletna stran - + - + """ @@ -17703,7 +17703,7 @@ msos spletna stran - + """ @@ -17913,7 +17913,7 @@ msos spletna stran - + """ diff --git a/css/base/_base.css b/css/base/_base.css index 886dd80..1f09a8f 100644 --- a/css/base/_base.css +++ b/css/base/_base.css @@ -21,8 +21,8 @@ body { color: #101828; } -/* Prepreči drsenje strani, ko je mobilni meni odprt */ -body.nav-open { +/* NOVO (zamenjaj znotraj _base.css): */ +html.nav-open, html.nav-open body { overflow: hidden; } diff --git a/css/layout/_header.css b/css/layout/_header.css index 20abd23..1bf92b6 100644 --- a/css/layout/_header.css +++ b/css/layout/_header.css @@ -35,7 +35,6 @@ gap: 48px; } -/* KLJUČNA SPREMEMBA: Navigacijskemu ovoju damo možnost rasti, da zapolni prostor */ .header-content > nav { flex-grow: 1; display: flex; @@ -55,10 +54,9 @@ display: flex; align-items: center; height: 100%; - width: 100%; /* Dovolimo, da seznam zasede celotno širino