Fix scroll (partially)

We want the consent message to be scrollable. The current changes are a partial
solution, the navbar still shows through at times.
This commit is contained in:
Manav Rathi
2024-11-19 08:10:47 +05:30
parent a2b9126c88
commit 68c230dae9
3 changed files with 3 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ const DropDiv = styled("div")`
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
`;
const Overlay = styled("div")`
border-width: 8px;

View File

@@ -49,6 +49,7 @@ body {
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
}
.pswp__button--custom {

View File

@@ -94,7 +94,7 @@ export const PeopleEmptyStateDisabled: React.FC = () => {
});
return (
<Stack sx={{ alignItems: "center" }}>
<Stack sx={{ alignItems: "center", flex: 1, overflow: "auto" }}>
<Paper sx={{ maxWidth: "390px", padding: "4px", mb: "2rem" }}>
{!showConsent ? (
<EnableML onEnable={() => setShowConsent(true)} />