From 2e775463a9ed6f0fbe0c84151b1ab83d52cf0cc6 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Wed, 23 Oct 2024 23:22:35 +0300 Subject: [PATCH] R: Improve CSS setup --- rsconcept/frontend/src/styling/setup.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rsconcept/frontend/src/styling/setup.css b/rsconcept/frontend/src/styling/setup.css index 58c57c8a..2e1a1244 100644 --- a/rsconcept/frontend/src/styling/setup.css +++ b/rsconcept/frontend/src/styling/setup.css @@ -8,6 +8,16 @@ @tailwind components; @tailwind utilities; +*, +*::after, +*::before { + box-sizing: border-box; + + /* Uncomment to debug layering and overflow */ + /* background: hsla(135, 50%, 50%, 0.05); */ + /* outline: 2px solid hotpink; */ +} + html { -webkit-text-size-adjust: none; -moz-text-size-adjust: none; @@ -42,6 +52,8 @@ body { } :root { + interpolate-size: allow-keywords; + font-size: var(--font-size-base); line-height: var(--line-height); font-family: var(--font-main);