Fix header and nav mobile views

feat/theme-v2
Benjamin Bädorf 2022-11-28 15:21:11 +01:00
parent 22a4fe665d
commit 236da112eb
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
5 changed files with 14 additions and 4 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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 {

View File

@ -8,6 +8,7 @@
width: 100%;
background-color: var(--background);
border-bottom: 2px solid var(--foreground);
overflow-x: auto;
&--list {
list-style: none;

View File

@ -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>