fix(registratura): disable horizontal scroll on detail sheet ScrollArea
Radix ScrollArea Viewport allows horizontal scroll by default, causing NAS attachment cards to extend beyond the sheet edge. Override viewport overflow-x to hidden and move px-6 padding inside the content div so the viewport constrains content width properly.
This commit is contained in:
@@ -218,8 +218,8 @@ export function RegistryEntryDetail({
|
||||
|
||||
<Separator className="mt-4" />
|
||||
|
||||
<ScrollArea className="flex-1 px-6">
|
||||
<div className="space-y-5 py-4 overflow-hidden">
|
||||
<ScrollArea className="flex-1 [&>[data-slot=scroll-area-viewport]]:!overflow-x-hidden">
|
||||
<div className="space-y-5 py-4 px-6">
|
||||
{/* ── Status row ── */}
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Badge className={cn("text-xs px-2.5 py-0.5", dir.class)}>
|
||||
|
||||
Reference in New Issue
Block a user