diff --git a/source/css/_common/scaffolding/base.styl b/source/css/_common/scaffolding/base.styl index b757841..abf9622 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 f395c24..bc7ea67 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 0ca778b..e4dd275 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 2718905..2ca8135 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; }