From 1103f7408784fecf8ee4601a6b46e2768855b818 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Tue, 1 Dec 2020 11:44:42 +0100 Subject: [PATCH] Revert "app-shell: prevent the page from shifting when scrollbars get added" This reverts commit bcfc8d653b69581cb2ef76930c9bc5d16ef54d3d. This seems to only work on the body --- packages/app-shell/src/app-shell.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 4edc5fcf..30fa1c45 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -441,13 +441,6 @@ 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; } -- GitLab