We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a7f429 + 6b791b5 commit f1f9e9cCopy full SHA for f1f9e9c
packages/unity-bootstrap-theme/src/scss/extends/_buttons.scss
@@ -5,12 +5,24 @@
5
1rem;
6
}
7
8
+@mixin clickable-area() {
9
+ position: relative;
10
+ &::before {
11
+ content: "";
12
+ position: absolute;
13
+ inset: -10px;
14
+ margin: auto;
15
+ }
16
+}
17
+
18
// Extra styles that don't have bootstrap variables to override
19
.btn {
20
text-decoration: none;
21
font-weight: bold;
22
white-space: nowrap;
23
width: max-content !important;
24
+ @include clickable-area();
25
26
&::first-letter {
27
text-transform: uppercase;
28
0 commit comments