Remove scrollbar on Safari when on details page (#3448)
This commit is contained in:
parent
97c7a32455
commit
aa2031eac3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ interface DetailPageLayoutProps {
|
||||||
withSavebar?: boolean;
|
withSavebar?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight})`;
|
const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight} * 2)`;
|
||||||
const contentWithoutSidebarHeight = `calc(100vh - ${borderHeight}`;
|
const contentWithoutSidebarHeight = `calc(100vh - ${borderHeight}`;
|
||||||
|
|
||||||
export const RootLayout: React.FC<DetailPageLayoutProps> = ({
|
export const RootLayout: React.FC<DetailPageLayoutProps> = ({
|
||||||
|
|
Loading…
Reference in a new issue