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 {
|
.config-card-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: 0fr;
|
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: 0 16px;
|
||||||
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-card-content.open {
|
.config-card-content.open {
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
padding: 0 16px 16px 16px;
|
padding-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.config-card-content > div {
|
.config-card-content > div {
|
||||||
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes enable-tooltip-overflow {
|
||||||
|
to { overflow: visible; }
|
||||||
|
}
|
||||||
|
|
||||||
.config-card-content.open > div {
|
.config-card-content.open > div {
|
||||||
overflow: visible;
|
animation: enable-tooltip-overflow 0s 0.3s forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toggle switches */
|
/* Toggle switches */
|
||||||
|
|||||||
@ -210,8 +210,8 @@
|
|||||||
<BackButton />
|
<BackButton />
|
||||||
{#if opfsDisabled}
|
{#if opfsDisabled}
|
||||||
<blockquote id="opfs-disabled" class="error-box">
|
<blockquote id="opfs-disabled" class="error-box">
|
||||||
<p>OPFS is disabled in this browser. Default configuration will apply. If you are using a Firefox
|
<p>OPFS is disabled in this browser. Default configuration will apply. If you are using a Private/Incognito
|
||||||
Private window, please change to a regular window instead to change configuration.</p>
|
window, please change to a regular window instead to change configuration.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="page-inner-content config-layout">
|
<div class="page-inner-content config-layout">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user