From 15ea4bf15cf3b904c64b3e196b11b0371149585f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 19 Oct 2025 14:42:36 +0200 Subject: [PATCH] pl-fe: improve styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/styles/loading.scss | 11 +++++++++-- packages/pl-fe/src/styles/tailwind.css | 1 - 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/pl-fe/src/styles/loading.scss b/packages/pl-fe/src/styles/loading.scss index 6b18e847e..f52e8dee1 100644 --- a/packages/pl-fe/src/styles/loading.scss +++ b/packages/pl-fe/src/styles/loading.scss @@ -1,5 +1,10 @@ .loading-indicator-wrapper { - @apply h-screen w-screen flex justify-center items-center; + height: 100vh; + height: 100dvh; + width: 100vw; + display: flex; + justify-content: center; + align-items: center; } .loading-indicator { @@ -7,7 +12,9 @@ } .loading-indicator__container { - @apply w-10 h-10 relative; + width: 2.5rem; + height: 2.5rem; + position: relative; } .loading-indicator__figure { diff --git a/packages/pl-fe/src/styles/tailwind.css b/packages/pl-fe/src/styles/tailwind.css index 200b2ca67..4ea47f980 100644 --- a/packages/pl-fe/src/styles/tailwind.css +++ b/packages/pl-fe/src/styles/tailwind.css @@ -17,7 +17,6 @@ .d-screen { height: 100vh; /* Backwards compatibility */ - /* stylelint-disable-next-line unit-no-unknown */ height: 100dvh; }