change container height to 100vh (#12317)
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
This commit is contained in:
parent
23c12f4afc
commit
e7498f2808
|
|
@ -55,6 +55,7 @@ function CanvasContainer() {
|
|||
</Centered>
|
||||
);
|
||||
let node: ReactNode;
|
||||
|
||||
if (isFetchingPage) {
|
||||
node = pageLoading;
|
||||
}
|
||||
|
|
@ -71,7 +72,9 @@ function CanvasContainer() {
|
|||
"mt-9": shouldHaveTopMargin,
|
||||
})}
|
||||
key={currentPageId}
|
||||
style={{ height: `calc(100% - ${shouldHaveTopMargin ? "2rem" : "0px"})` }}
|
||||
style={{
|
||||
height: `calc(100vh - ${shouldHaveTopMargin ? "2rem" : "0px"})`,
|
||||
}}
|
||||
>
|
||||
{node}
|
||||
</Container>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user