mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 12:16:59 +00:00
fix(ui): resolve Radix ScrollArea viewport overflow
- override inline display:table style causing content expansion - force min-width:0 on viewport child div
This commit is contained in:
@@ -312,3 +312,10 @@
|
|||||||
.animate-border-glow {
|
.animate-border-glow {
|
||||||
animation: border-glow 2s ease-in-out infinite;
|
animation: border-glow 2s ease-in-out infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix Radix ScrollArea viewport overflow issue */
|
||||||
|
/* Radix uses inline styles with display: table which causes content to expand beyond container */
|
||||||
|
[data-radix-scroll-area-viewport] > div {
|
||||||
|
display: block !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user