Skip to content

fix: layout shift [2607]

Hannes Heine requested to merge pr3218head into pr3218base

Created by: Tirokk

rbeer Authored by rbeer Merged


🍰 Pullrequest

This change

  1. calculates the width of the vertical scrollbar (px-value)
  2. sets px-value as padding-right to .main-navigation and body

thus preventing the page's content from shifting when filling up space that the disappearing scrollbar leaves behind.

hc_dropdowns-2020-02-24_17 31 41

Issues

Remake of #3151

Merge request reports