浏览代码

fix: edge case causing horizontal scrollbar

Prevent horizontal scrollbar in case of 100vw grid applied to page with vertical scrollbar.

Fix f851142
Fix #1976
George Cushen 4 年之前
父节点
当前提交
58c7dd7a0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wowchemy/assets/scss/wowchemy/_root.scss

+ 1 - 1
wowchemy/assets/scss/wowchemy/_root.scss

@@ -24,7 +24,7 @@ body {
   padding-top: 0;
   counter-reset: captions;
   // Prevent horizontal scrollbar in case of 100vw grid applied to page with vertical scrollbar.
-  overflow: hidden;
+  overflow-x: hidden;
 }
 @include media-breakpoint-down(md) { /* Match max-width of .nav-bar query. */
   body {