Remove scrollbar on Safari when on details page (#3448)

This commit is contained in:
Krzysztof Żuraw 2023-04-04 10:56:53 +02:00 committed by GitHub
parent 97c7a32455
commit aa2031eac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ interface DetailPageLayoutProps {
withSavebar?: boolean;
}
const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight})`;
const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight} * 2)`;
const contentWithoutSidebarHeight = `calc(100vh - ${borderHeight}`;
export const RootLayout: React.FC<DetailPageLayoutProps> = ({