From 2a04f231305c9ad0e8d80128c5973f09184e1437 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 11 Mar 2025 23:12:05 -0500 Subject: [PATCH] Switch custom breakpoints to rems to avoid precedence issues --- tailwind.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailwind.css b/tailwind.css index f1368499..564b8471 100644 --- a/tailwind.css +++ b/tailwind.css @@ -10,8 +10,8 @@ @theme { --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; - --breakpoint-xs: 390px; - --breakpoint-3xl: 1640px; + --breakpoint-xs: 24.5rem; + --breakpoint-3xl: 102rem; --text-xs: 0.75rem; --text-xs--line-height: 1rem;