fix: remove extraneous scroll
This commit is contained in:
parent
099ed2ba25
commit
c967b3bb0e
1 changed files with 5 additions and 5 deletions
|
|
@ -128,9 +128,9 @@ function ConfigPage() {
|
|||
];
|
||||
|
||||
return (
|
||||
<div className="flex h-full flex-col overflow-y-auto lg:flex-row">
|
||||
<div className="flex h-full flex-col lg:flex-row lg:overflow-hidden">
|
||||
{/* Header and tabs section */}
|
||||
<div className="bg-vsc-background lg:bg-transparent lg:w-48 lg:flex-shrink-0">
|
||||
<div className="bg-vsc-background lg:bg-transparent lg:w-48 lg:flex-shrink-0 lg:flex lg:flex-col lg:h-full">
|
||||
{/* Header - only show on mobile/tablet */}
|
||||
<div className="lg:hidden">
|
||||
<PageHeader
|
||||
|
|
@ -142,7 +142,7 @@ function ConfigPage() {
|
|||
</div>
|
||||
|
||||
{/* Tab Headers */}
|
||||
<div className="bg-vsc-input-background lg:bg-vsc-background flex cursor-pointer flex-wrap justify-center gap-x-2 gap-y-1 border-0 border-b-[1px] lg:border-r-[1px] lg:border-b-0 border-solid border-b-zinc-700 lg:border-r-zinc-700 p-0.5 lg:flex-col lg:gap-1 lg:p-4 lg:justify-start lg:h-full lg:overflow-y-auto">
|
||||
<div className="bg-vsc-input-background lg:bg-vsc-background flex cursor-pointer flex-wrap justify-center gap-x-2 gap-y-1 border-0 border-b-[1px] lg:border-r-[1px] lg:border-b-0 border-solid border-b-zinc-700 lg:border-r-zinc-700 p-0.5 lg:flex-col lg:gap-1 lg:p-4 lg:justify-start lg:flex-1 lg:overflow-y-auto">
|
||||
{tabs.map((tab) => (
|
||||
<div
|
||||
style={{
|
||||
|
|
@ -162,7 +162,7 @@ function ConfigPage() {
|
|||
</div>
|
||||
|
||||
{/* Main content area */}
|
||||
<div className="flex-1 flex flex-col overflow-hidden">
|
||||
<div className="flex-1 flex flex-col overflow-hidden lg:min-h-0">
|
||||
{/* Header for desktop */}
|
||||
<div className="hidden lg:block bg-vsc-background sticky top-0 z-10">
|
||||
<PageHeader
|
||||
|
|
@ -174,7 +174,7 @@ function ConfigPage() {
|
|||
</div>
|
||||
|
||||
{/* Tab Content */}
|
||||
<div className="flex-1 overflow-y-auto px-4">
|
||||
<div className="flex-1 overflow-y-auto px-4 lg:overflow-y-auto">
|
||||
{tabs.find((tab) => tab.id === activeTab)?.component}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue