mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
fix(layout): update className to use flex-1 for consistent tab content sizing
This commit is contained in:
parent
ee37b78c20
commit
97a1cb584e
@ -40,10 +40,10 @@ export default function ProblemLayout({
|
|||||||
</TabsList>
|
</TabsList>
|
||||||
<ScrollBar orientation="horizontal" />
|
<ScrollBar orientation="horizontal" />
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
<TabsContent value="description" className="grow mt-0">
|
<TabsContent value="description" className="flex-1 mt-0">
|
||||||
{description}
|
{description}
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
<TabsContent value="solution" className="grow mt-0">
|
<TabsContent value="solution" className="flex-1 mt-0">
|
||||||
{solution}
|
{solution}
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
Loading…
Reference in New Issue
Block a user