From 3e5ca44e615416e9af3f88bf4ace4bf1c711a54f Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sun, 22 Jan 2023 15:34:37 +0100 Subject: [PATCH] Moved icon specific styles to icon.svelte --- frontend/src/components/icon.svelte | 14 ++++++++++++++ frontend/src/style.css | 10 ---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/icon.svelte b/frontend/src/components/icon.svelte index 0c97326..2d9e77a 100644 --- a/frontend/src/components/icon.svelte +++ b/frontend/src/components/icon.svelte @@ -2,6 +2,20 @@ export let name = ''; + + {#if name === 'radio'} diff --git a/frontend/src/style.css b/frontend/src/style.css index 17652fa..3d57dd3 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -63,11 +63,6 @@ p strong { display: flex; align-items: center; } -.field svg { - width: 13px; - height: 13px; - margin-right: 2px; -} .field > :first-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; @@ -141,11 +136,6 @@ p strong { opacity: 0.5; cursor: not-allowed; } -.btn svg { - height: 13px; - width: auto; - vertical-align: bottom; -} code, .code {