diff --git a/source/css/_common/scaffolding/base.styl b/source/css/_common/scaffolding/base.styl index b7578419b..abf962208 100644 --- a/source/css/_common/scaffolding/base.styl +++ b/source/css/_common/scaffolding/base.styl @@ -27,6 +27,7 @@ body { } if (hexo-config('body_scrollbar.stable')) { + // https://caniuse.com/mdn-css_properties_scrollbar-gutter scrollbar-gutter: stable; } } diff --git a/source/css/_common/scaffolding/tags/tabs.styl b/source/css/_common/scaffolding/tags/tabs.styl index f395c2400..bc7ea6721 100644 --- a/source/css/_common/scaffolding/tags/tabs.styl +++ b/source/css/_common/scaffolding/tags/tabs.styl @@ -11,7 +11,6 @@ flex-wrap: wrap; margin: 0; padding: 0; - position: -webkit-sticky; position: sticky; top: 0; // Fix issue #398 diff --git a/source/css/_mixins.styl b/source/css/_mixins.styl index 0ca778b61..e4dd275e2 100644 --- a/source/css/_mixins.styl +++ b/source/css/_mixins.styl @@ -71,8 +71,6 @@ word-wrap() { } disable-user-select() { - -moz-user-select: none; - -ms-user-select: none; -webkit-user-select: none; user-select: none; } diff --git a/source/css/_schemes/Pisces/_sidebar.styl b/source/css/_schemes/Pisces/_sidebar.styl index 2718905c7..2ca81359e 100644 --- a/source/css/_schemes/Pisces/_sidebar.styl +++ b/source/css/_schemes/Pisces/_sidebar.styl @@ -1,7 +1,6 @@ +desktop() { .sidebar { // https://caniuse.com/css-sticky - position: -webkit-sticky; position: sticky; top: $sidebar-offset; }