mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
fix(layout): add padding to ScrollArea in description and workspace layouts
This commit is contained in:
parent
93bcd45c8a
commit
adf59f8132
@ -9,7 +9,7 @@ interface DescriptionLayoutProps {
|
|||||||
export default function DescriptionLayout({ children }: DescriptionLayoutProps) {
|
export default function DescriptionLayout({ children }: DescriptionLayoutProps) {
|
||||||
return (
|
return (
|
||||||
<Tabs defaultValue="description" className="h-full flex flex-col">
|
<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">
|
<TabsList className="gap-1 bg-transparent">
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
value="description"
|
value="description"
|
||||||
|
@ -9,7 +9,7 @@ interface WorkspaceLayoutProps {
|
|||||||
export default function WorkspaceLayout({ children }: WorkspaceLayoutProps) {
|
export default function WorkspaceLayout({ children }: WorkspaceLayoutProps) {
|
||||||
return (
|
return (
|
||||||
<Tabs defaultValue="code" className="h-full flex flex-col">
|
<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">
|
<TabsList className="gap-1 bg-transparent">
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
value="code"
|
value="code"
|
||||||
|
Loading…
Reference in New Issue
Block a user