mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-02-28 05:47:39 +00:00
Fix transition animation in config section
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
This commit is contained in:
parent
ff379338f9
commit
15169c3ec5
12
src/app.css
12
src/app.css
@ -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 */
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user