mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
Fix transition
and format
This commit is contained in:
parent
2a94acd9e8
commit
37c74e4fca
2 changed files with 3 additions and 3 deletions
|
@ -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 Badge from "../components/Badge.svelte";
|
||||||
import { directionKey } from "../lib/context-keys";
|
import { directionKey } from "../lib/context-keys";
|
||||||
import * as tr from "../lib/ftl";
|
import * as tr from "../lib/ftl";
|
||||||
import { chevronDown,chevronRight } from "./icons";
|
import { chevronDown, chevronRight } from "./icons";
|
||||||
|
|
||||||
export let off: boolean;
|
export let off: boolean;
|
||||||
|
|
||||||
|
|
|
@ -62,13 +62,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
transition: bottom 0.2s ease-out;
|
transition: bottom 0.2s ease-out;
|
||||||
&.on {
|
&.on {
|
||||||
bottom: 11px;
|
bottom: -10px;
|
||||||
background: var(--code-bg);
|
background: var(--code-bg);
|
||||||
border-right: 1px solid var(--border);
|
border-right: 1px solid var(--border);
|
||||||
border-top: 1px solid var(--border);
|
border-top: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
&.off {
|
&.off {
|
||||||
bottom: -1px;
|
bottom: 0px;
|
||||||
background: var(--frame-bg);
|
background: var(--frame-bg);
|
||||||
border-left: 1px solid var(--border);
|
border-left: 1px solid var(--border);
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
|
|
Loading…
Reference in a new issue