From 37c74e4fca728314174cb1a89bfd1e991647d2ef Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Wed, 3 Aug 2022 20:06:50 +0200 Subject: [PATCH] Fix transition and format --- ts/editor/LabelContainer.svelte | 2 +- ts/editor/PlainTextBadge.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/editor/LabelContainer.svelte b/ts/editor/LabelContainer.svelte index 4b0976e06..cbd7edeae 100644 --- a/ts/editor/LabelContainer.svelte +++ b/ts/editor/LabelContainer.svelte @@ -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; diff --git a/ts/editor/PlainTextBadge.svelte b/ts/editor/PlainTextBadge.svelte index 99b8058e2..188c0cfd5 100644 --- a/ts/editor/PlainTextBadge.svelte +++ b/ts/editor/PlainTextBadge.svelte @@ -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);