From 1a799808415f0474319b84c490f7ce416674ae80 Mon Sep 17 00:00:00 2001 From: Fernando Aviles Date: Sun, 30 Nov 2025 14:32:33 -0500 Subject: [PATCH] fix: update nav css to handle longer localized strings --- src/components/DocsCategoryDropdown/styles.module.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/DocsCategoryDropdown/styles.module.css b/src/components/DocsCategoryDropdown/styles.module.css index ba71367f72c..437e31d8aa4 100644 --- a/src/components/DocsCategoryDropdown/styles.module.css +++ b/src/components/DocsCategoryDropdown/styles.module.css @@ -3,10 +3,13 @@ .docsNavDropdownContainer { border-radius: 10px; position: relative; - display: inline-block; + display: inline-flex; + align-items: center; color: var(--ch-nav-v2-link-color); width: fit-content; padding: 8px; + white-space: nowrap; + flex-shrink: 0; /* Keep original padding for non-dropdown items */ } @@ -301,4 +304,4 @@ [data-theme="light"] .docsNavDropdownContainer { background-color: white; } -} \ No newline at end of file +}