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:
@@ -14,6 +14,7 @@ const DropDiv = styled("div")`
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
`;
|
||||
const Overlay = styled("div")`
|
||||
border-width: 8px;
|
||||
|
||||
@@ -49,6 +49,7 @@ body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.pswp__button--custom {
|
||||
|
||||
@@ -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)} />
|
||||
|
||||
Reference in New Issue
Block a user