From 2dd456897f189d3c204cc7fe928eb9839fd36333 Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Tue, 15 Mar 2022 00:21:51 -0600 Subject: [PATCH] Move the error style to be global --- web-svelte/public/global.css | 10 ++++++++++ web-svelte/src/components/modals/ShipDesigner.svelte | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/web-svelte/public/global.css b/web-svelte/public/global.css index 120d3ea..eafe06c 100644 --- a/web-svelte/public/global.css +++ b/web-svelte/public/global.css @@ -9,4 +9,14 @@ .material-icons { user-select: none; +} + +.error { + padding: 10px; + background: #ff000033; + border-radius: 10px; + border-style: solid; + border-color: red; + border-width: 2px; + text-align: center; } \ No newline at end of file diff --git a/web-svelte/src/components/modals/ShipDesigner.svelte b/web-svelte/src/components/modals/ShipDesigner.svelte index 2257b35..fd4ca2c 100644 --- a/web-svelte/src/components/modals/ShipDesigner.svelte +++ b/web-svelte/src/components/modals/ShipDesigner.svelte @@ -190,14 +190,4 @@ select { align-items: center; transform: rotate(-90deg); } - -.error { - padding: 10px; - background: #ff000033; - border-radius: 10px; - border-style: solid; - border-color: red; - border-width: 2px; - text-align: center; -} \ No newline at end of file