Fix transition

and format
This commit is contained in:
Matthias Metelka 2022-08-03 20:06:50 +02:00
parent 2a94acd9e8
commit 37c74e4fca
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import Badge from "../components/Badge.svelte";
import { directionKey } from "../lib/context-keys";
import * as tr from "../lib/ftl";
import { chevronDown,chevronRight } from "./icons";
import { chevronDown, chevronRight } from "./icons";
export let off: boolean;

View file

@ -62,13 +62,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
transition: bottom 0.2s ease-out;
&.on {
bottom: 11px;
bottom: -10px;
background: var(--code-bg);
border-right: 1px solid var(--border);
border-top: 1px solid var(--border);
}
&.off {
bottom: -1px;
bottom: 0px;
background: var(--frame-bg);
border-left: 1px solid var(--border);
border-bottom: 1px solid var(--border);