Skip to content

Commit 6b791b5

Browse files
committed
feat(unity-bootstrap-theme): applied some feedback changes
UDS-1970
1 parent 641eb4e commit 6b791b5

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

packages/unity-bootstrap-theme/src/scss/extends/_buttons.scss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
1rem;
66
}
77

8-
@mixin clickable-area($min-width: 80px, $min-height: 44px) {
8+
@mixin clickable-area() {
99
position: relative;
1010
&::before {
1111
content: "";
1212
position: absolute;
13-
min-width: $min-width;
14-
min-height: $min-height;
15-
z-index: -1;
16-
inset: 0;
13+
inset: -10px;
1714
margin: auto;
1815
}
1916
}
@@ -24,6 +21,8 @@
2421
font-weight: bold;
2522
white-space: nowrap;
2623
width: max-content !important;
24+
@include clickable-area();
25+
2726
&::first-letter {
2827
text-transform: uppercase;
2928
}
@@ -33,14 +32,11 @@
3332
}
3433
&.btn-md {
3534
@include btn-md;
36-
@include clickable-area(80px, 44px);
3735
}
3836
&.btn-sm {
3937
font-size: 0.75rem;
4038
padding: $uds-component-button-padding-y-small
4139
$uds-component-button-padding-x-small;
42-
43-
@include clickable-area(64px, 44px);
4440
}
4541
&.btn-tag {
4642
font-size: 0.75rem;

0 commit comments

Comments
 (0)