File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,15 @@ function DemoLayout({ children }: { children: React.ReactNode }) {
4343 < >
4444 < DemoTabs items = { componentTabs } />
4545
46- < ScrollArea className = "h-full" >
47- < div className = "p-[18px]" >
48- < div className = "mb-8 border border-gray-200 rounded-xl bg-white p-6 shadow-lg transition-all dark:border-neutral-700 dark:bg-neutral-800 hover:shadow-xl" >
49- < h3 className = "mb-4 border-b border-gray-200 pb-2 text-xl text-gray-800 font-bold dark:border-neutral-700 dark:text-gray-100" >
50- Demo < DemoTitle />
51- </ h3 >
52-
53- { children }
54- </ div >
46+ < div className = "h-full p-[18px]" >
47+ < div className = "mb-8 h-full border border-gray-200 rounded-xl bg-white p-6 shadow-lg transition-all dark:border-neutral-700 dark:bg-neutral-800 hover:shadow-xl" >
48+ < h3 className = "mb-4 border-b border-gray-200 pb-2 text-xl text-gray-800 font-bold dark:border-neutral-700 dark:text-gray-100" >
49+ Demo < DemoTitle />
50+ </ h3 >
51+
52+ < ScrollArea className = "h-full pb-20" > { children } </ ScrollArea >
5553 </ div >
56- </ ScrollArea >
54+ </ div >
5755 </ >
5856 ) ;
5957}
Original file line number Diff line number Diff line change @@ -15,8 +15,12 @@ export default function DemoTabs({ items }: DemoTabsProps) {
1515
1616 return (
1717 < Tabs
18+ enableIndicator = { false }
1819 items = { items }
1920 value = { currentTab }
21+ classNames = { {
22+ list : 'flex-wrap justify-start'
23+ } }
2024 />
2125 ) ;
2226}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default async function RootLayout({
3232 < div className = "h-full" >
3333 < Card
3434 flexHeight
35- className = "h-full lt -sm:h-auto"
35+ className = "h-full max -sm:h-auto"
3636 title = "Soybean UI Components"
3737 >
3838 { children }
You can’t perform that action at this time.
0 commit comments