mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 22:13:22 +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:
1 parent
7788137f1c
commit
2b6600abd7
1 file changed
+7
@@ -312,3 +312,10 @@
|
||||
.animate-border-glow {
|
||||
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