fix(ui): принудительно скрывать [hidden], чтобы неактивные вкладки Radix не давали огромный отступ
This commit is contained in:
@@ -385,6 +385,13 @@ td.formula-highlight {
|
||||
padding-bottom: env(safe-area-inset-bottom, 0);
|
||||
}
|
||||
|
||||
/* Fix: Tailwind utility .flex overrides preflight [hidden] rule.
|
||||
Radix primitives (Tabs, Dialog, Accordion, etc.) use hidden attr for inactive/unmounted content.
|
||||
Ensure [hidden] always hides even when combined with flex/grid/display utilities. */
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Fix Radix ScrollArea display:table horizontal overflow in chats */
|
||||
.chat-scroll-area [data-radix-scroll-area-viewport] > div {
|
||||
display: block !important;
|
||||
|
||||
Reference in New Issue
Block a user