This commit is contained in:
Emir Karabeg
2025-11-13 16:31:30 -08:00
parent 80eaeb00c2
commit 32a2e09a14

View File

@@ -296,7 +296,7 @@ const PopoverContent = React.forwardRef<
'z-[10000001] flex flex-col overflow-auto rounded-[8px] bg-[var(--surface-3)] px-[5.5px] py-[5px] text-foreground outline-none dark:bg-[var(--surface-3)]',
// If width is constrained by the caller (prop or style), ensure inner flexible text truncates by default,
// and also truncate section headers.
hasUserWidthConstraint && '[&_.flex-1]:truncate [&_[data-popover-section]]:truncate',
hasUserWidthConstraint && '[&_.flex-1]:truncate [&_[data-popover-section]]:truncate'
)}
style={{
maxHeight: `${maxHeight || 400}px`,