fix(layout): add padding to ScrollArea in description and workspace layouts

This commit is contained in:
cfngc4594 2025-02-24 12:38:54 +08:00
parent 93bcd45c8a
commit adf59f8132
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ interface DescriptionLayoutProps {
export default function DescriptionLayout({ children }: DescriptionLayoutProps) {
return (
<Tabs defaultValue="description" className="h-full flex flex-col">
<ScrollArea className="h-9 flex-none bg-muted">
<ScrollArea className="h-9 flex-none bg-muted px-1">
<TabsList className="gap-1 bg-transparent">
<TabsTrigger
value="description"

View File

@ -9,7 +9,7 @@ interface WorkspaceLayoutProps {
export default function WorkspaceLayout({ children }: WorkspaceLayoutProps) {
return (
<Tabs defaultValue="code" className="h-full flex flex-col">
<ScrollArea className="h-9 flex-none bg-muted">
<ScrollArea className="h-9 flex-none bg-muted px-1">
<TabsList className="gap-1 bg-transparent">
<TabsTrigger
value="code"