Skip to content

Commit 21cb8c3

Browse files
authored
Add user-select options to buttons
1 parent 482dcd4 commit 21cb8c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/css/components/_stacks-buttons.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
text-align: center;
3434
text-decoration: none;
3535
cursor: pointer;
36+
user-select: none;
3637

3738
// Override for buttons having inline-block by default
3839
&.grid {
@@ -539,6 +540,7 @@
539540
background: none;
540541
box-shadow: none;
541542
cursor: default;
543+
user-select: all;
542544
}
543545

544546
.s-btn__unset:focus {
@@ -641,4 +643,4 @@
641643
}
642644
}
643645
}
644-
}
646+
}

0 commit comments

Comments
 (0)