Fix header and nav mobile views
This commit is contained in:
parent
22a4fe665d
commit
236da112eb
|
@ -61,7 +61,7 @@
|
|||
|
||||
<#if realm.internationalizationEnabled && locale.supported?size gt 1>
|
||||
<select
|
||||
class="ps-i18n-links"
|
||||
class="ps-i18n-links ps-header--i18n"
|
||||
id="language-toggle"
|
||||
>
|
||||
<#list locale.supported as l>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
justify-content: space-between;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow-x: auto;
|
||||
|
||||
&--title {
|
||||
font-size: 1.5rem;
|
||||
|
@ -14,8 +15,11 @@
|
|||
pointer-events: all;
|
||||
}
|
||||
|
||||
&--nav {
|
||||
&--i18n {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
&--nav {
|
||||
display: flex;
|
||||
border-bottom: 0.5rem solid var(--foreground);
|
||||
border-left: 0.5rem solid var(--foreground);
|
||||
|
@ -36,6 +40,7 @@
|
|||
&--nav-item {
|
||||
margin: 0;
|
||||
margin-right: 1rem;
|
||||
|
||||
&-action {
|
||||
color: var(--foreground);
|
||||
text-decoration: none;
|
||||
|
|
|
@ -23,7 +23,11 @@ html {
|
|||
width: 100vw;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
font-size: 16px;
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
*:focus-visible {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
width: 100%;
|
||||
background-color: var(--background);
|
||||
border-bottom: 2px solid var(--foreground);
|
||||
overflow-x: auto;
|
||||
|
||||
&--list {
|
||||
list-style: none;
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
<#if realm.internationalizationEnabled && locale.supported?size gt 1>
|
||||
<select
|
||||
class="ps-i18n-links"
|
||||
class="ps-i18n-links ps-header--i18n"
|
||||
id="language-toggle"
|
||||
>
|
||||
<#list locale.supported as l>
|
||||
|
|
Loading…
Reference in a new issue