From 07e1334173dc44c8234a6d159505d4b2c12039f2 Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 23 Oct 2025 00:00:43 -0500 Subject: [PATCH] style: prevent word-breaking in table header cells Add CSS rules to prevent word-breaking, overflow-wrapping, and hyphenation in Radix UI table column headers to maintain proper text formatting. --- src/styles/globals.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/styles/globals.css b/src/styles/globals.css index dc2f164..8cf0569 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -18,6 +18,14 @@ scrollbar-width: thin; } +/* Table header cell styling - prevent word-breaking */ +.rt-TableColumnHeaderCell { + word-break: normal; + overflow-wrap: normal; + hyphens: none; + white-space: normal; +} + /* Keep animate-spin for loading states */ @keyframes spin { from {