From 2f68323ecbabb6227e606c0e357d8a726e2cc0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 2 Dec 2021 20:49:59 +0100 Subject: [PATCH] [ui] larger type icons --- ui/src/components/AttributeView.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/src/components/AttributeView.svelte b/ui/src/components/AttributeView.svelte index 68261ee..25b1cf9 100644 --- a/ui/src/components/AttributeView.svelte +++ b/ui/src/components/AttributeView.svelte @@ -77,7 +77,9 @@ {#if type} {#if type.icon} - +
+ +
{/if} {type.name || "???"}
@@ -139,6 +141,12 @@ line-height: 1; padding: 0 0.75ex; + .icon { + display: inline-block; + font-size: 1.5em; + margin-top: -0.3em; + } + sl-icon { margin-bottom: -2px; }