mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
style(problems, workspace): adjust ScrollArea height and flex layout
This commit is contained in:
parent
3a75c3d415
commit
ef753dd6c8
@ -15,7 +15,7 @@ export default function ProblemLayout({
|
||||
}: ProblemLayoutProps) {
|
||||
return (
|
||||
<Tabs defaultValue="description" className="h-full flex flex-col">
|
||||
<ScrollArea className="bg-muted">
|
||||
<ScrollArea className="h-9 flex-none bg-muted">
|
||||
<TabsList>
|
||||
<TabsTrigger value="description">
|
||||
<FileTextIcon
|
||||
|
@ -9,7 +9,7 @@ interface WorkspaceLayoutProps {
|
||||
export default function WorkspaceLayout({ editor }: WorkspaceLayoutProps) {
|
||||
return (
|
||||
<Tabs defaultValue="editor" className="h-full flex flex-col">
|
||||
<ScrollArea className="bg-muted">
|
||||
<ScrollArea className="h-9 flex-none bg-muted">
|
||||
<TabsList>
|
||||
<TabsTrigger value="editor">
|
||||
<SquarePenIcon
|
||||
|
Loading…
Reference in New Issue
Block a user