mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-28 08:30:21 +00:00
Hide the auth disabled element on small screens (#1033)
This commit is contained in:
parent
e78869644c
commit
31303a3122
@ -276,20 +276,15 @@ div.header div.authentication-disabled a {
|
||||
|
||||
@media (max-width: 900px) {
|
||||
div.header {
|
||||
flex-wrap: wrap;
|
||||
min-height: 3.5rem; /* Safari 14 iOS and iPad OS */
|
||||
background: var(--dark);
|
||||
}
|
||||
|
||||
body.auth-enabled:not(.logged-in) div.header {
|
||||
flex-wrap: wrap;
|
||||
min-height: 8.875rem; /* Safari 14 iOS and iPad OS */
|
||||
}
|
||||
|
||||
body.auth-disabled div.header {
|
||||
flex-wrap: wrap;
|
||||
min-height: 7rem;
|
||||
}
|
||||
|
||||
div.header div.title span.subtitle {
|
||||
display: none;
|
||||
}
|
||||
@ -353,11 +348,7 @@ div.header div.authentication-disabled a {
|
||||
}
|
||||
|
||||
div.header div.authentication-disabled {
|
||||
flex: 0 0 100%;
|
||||
align-items: end;
|
||||
padding: 0.5rem;
|
||||
background: var(--danger);
|
||||
color: #fff;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user