fix: scroll issue (#5093)

This commit is contained in:
naman-bruno
2025-07-14 23:29:18 +05:30
committed by GitHub
parent 4e4c94d73f
commit e89a240237
2 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ const CollectionSettings = ({ collection }) => {
};
return (
<StyledWrapper className="flex flex-col h-full relative px-4 py-4">
<StyledWrapper className="flex flex-col h-full relative px-4 py-4 overflow-scroll">
<div className="flex flex-wrap items-center tabs" role="tablist">
<div className={getTabClassname('overview')} role="tab" onClick={() => setTab('overview')}>
Overview
@@ -169,7 +169,7 @@ const CollectionSettings = ({ collection }) => {
{clientCertConfig.length > 0 && <StatusDot />}
</div>
</div>
<section className="mt-4 h-full">{getTabPanel(tab)}</section>
<section className="mt-4 h-full overflow-scroll">{getTabPanel(tab)}</section>
</StyledWrapper>
);
};

View File

@@ -74,7 +74,7 @@ const FolderSettings = ({ collection, folder }) => {
};
return (
<StyledWrapper className="flex flex-col h-full">
<StyledWrapper className="flex flex-col h-full overflow-scroll">
<div className="flex flex-col h-full relative px-4 py-4">
<div className="flex flex-wrap items-center tabs" role="tablist">
<div className={getTabClassname('headers')} role="tab" onClick={() => setTab('headers')}>
@@ -101,7 +101,7 @@ const FolderSettings = ({ collection, folder }) => {
Docs
</div>
</div>
<section className={`flex mt-4 h-full`}>{getTabPanel(tab)}</section>
<section className={`flex mt-4 h-full overflow-scroll`}>{getTabPanel(tab)}</section>
</div>
</StyledWrapper>
);