Skip to content

Commit

Permalink
fix: only disable user-selection on sliders (#4354)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed May 15, 2017
1 parent 8d80a58 commit cb6005e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/css/components/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
// Avoiding helvetica: issue #376
font-family: $text-font-family;

@include user-select(none);

// Fix for Firefox 9 fullscreen (only if it is enabled). Not needed when
// checking fullScreenEnabled.
&:-moz-full-screen { position: absolute; }
Expand Down
2 changes: 2 additions & 0 deletions src/css/components/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
padding: 0;
margin: 0 0.45em 0 0.45em;

@include user-select(none);

@include background-color-with-alpha($secondary-background-color, $secondary-background-transparency);
}

Expand Down

0 comments on commit cb6005e

Please sign in to comment.