Fix transition animation in config section
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Christian Semmler 2026-01-30 16:32:51 -08:00
parent ff379338f9
commit 15169c3ec5
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C
2 changed files with 11 additions and 5 deletions

View File

@ -566,21 +566,27 @@ body {
.config-card-content {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.3s ease;
transition: grid-template-rows 0.3s ease, padding-bottom 0.3s ease;
padding: 0 16px;
padding-bottom: 0;
}
.config-card-content.open {
grid-template-rows: 1fr;
padding: 0 16px 16px 16px;
padding-bottom: 16px;
}
.config-card-content > div {
min-height: 0;
overflow: hidden;
}
@keyframes enable-tooltip-overflow {
to { overflow: visible; }
}
.config-card-content.open > div {
overflow: visible;
animation: enable-tooltip-overflow 0s 0.3s forwards;
}
/* Toggle switches */

View File

@ -210,8 +210,8 @@
<BackButton />
{#if opfsDisabled}
<blockquote id="opfs-disabled" class="error-box">
<p>OPFS is disabled in this browser. Default configuration will apply. If you are using a Firefox
Private window, please change to a regular window instead to change configuration.</p>
<p>OPFS is disabled in this browser. Default configuration will apply. If you are using a Private/Incognito
window, please change to a regular window instead to change configuration.</p>
</blockquote>
{/if}
<div class="page-inner-content config-layout">