mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/settings: fix header on mobile at certain scales
This commit is contained in:
parent
1712dc8948
commit
ad3703ab73
2 changed files with 7 additions and 3 deletions
|
@ -46,8 +46,8 @@
|
||||||
<svelte:window bind:innerWidth={screenWidth} />
|
<svelte:window bind:innerWidth={screenWidth} />
|
||||||
|
|
||||||
<div id="settings-page">
|
<div id="settings-page">
|
||||||
<div id="settings-sidebar">
|
<div id="settings-sidebar" class:back-visible={!isHome && isMobile}>
|
||||||
<div id="settings-header" class:back-visible={!isHome && isMobile}>
|
<div id="settings-header">
|
||||||
{#if isMobile}
|
{#if isMobile}
|
||||||
{#if !isHome}
|
{#if !isHome}
|
||||||
<a
|
<a
|
||||||
|
@ -165,6 +165,10 @@
|
||||||
padding-top: var(--settings-padding);
|
padding-top: var(--settings-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#settings-sidebar.back-visible {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
#settings-sidebar {
|
#settings-sidebar {
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue