mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Prevent .buttons
being part of a user selection.
It is possible to select the text of a button, especially with a double click, this is ugly IMO.
This commit is contained in:
parent
4509738054
commit
dfe7ecd440
@ -20,8 +20,4 @@
|
||||
margin: 0 !important
|
||||
|
||||
.is-unselectable
|
||||
-webkit-touch-callout: none
|
||||
-webkit-user-select: none
|
||||
-moz-user-select: none
|
||||
-ms-user-select: none
|
||||
user-select: none
|
||||
+unselectable
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
.button
|
||||
+control
|
||||
+unselectable
|
||||
padding: 3px 10px
|
||||
text-align: center
|
||||
white-space: nowrap
|
||||
|
@ -55,6 +55,13 @@
|
||||
text-indent: -290486px
|
||||
width: $width
|
||||
|
||||
=unselectable
|
||||
-webkit-touch-callout: none
|
||||
-webkit-user-select: none
|
||||
-moz-user-select: none
|
||||
-ms-user-select: none
|
||||
user-select: none
|
||||
|
||||
$tablet: 769px
|
||||
$desktop: 980px
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user