Skip to content
Snippets Groups Projects
Commit bcfc8d65 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

app-shell: prevent the page from shifting when scrollbars get added

In the non-mobile mode add a padding to the left if there is a scrollbar.
parent fec044fc
No related branches found
No related tags found
No related merge requests found
Pipeline #14630 passed
......@@ -441,6 +441,13 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
min-height: 100vh;
}
/* Prevent the page shifting when vertical scrollbars get added */
@media (min-width: 680px) {
#main {
padding-left: calc(100vw - 100%);
}
}
#main-logo {
padding: 0 50px 0 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment