|
4 | 4 | #{$selectors} { |
5 | 5 | text-transform: none; |
6 | 6 | border-color: transparent; |
| 7 | + min-height: 36; |
| 8 | + min-width: 100; |
7 | 9 |
|
8 | 10 | @include button-base(const(btn-padding-y), const(btn-padding-x), const(btn-margin-y), const(btn-margin-x), const(btn-font-size), const(btn-radius), const(btn-min-width), const(btn-height)); |
9 | 11 |
|
10 | 12 | .ns-ios & { |
11 | | - height: const(btn-height) - 12; |
12 | 13 | border-width: 0; |
13 | 14 | } |
14 | 15 |
|
15 | 16 | .ns-android & { |
| 17 | + padding-top: const(btn-padding-y) + 3; |
| 18 | + padding-bottom: const(btn-padding-y) + 3; |
| 19 | + |
16 | 20 | margin: const(btn-margin-y) - 4 const(btn-margin-x) - 4; |
17 | 21 | } |
18 | 22 |
|
19 | 23 | @if $enable-rounded { |
20 | | - height: const(btn-height) - 12; |
21 | 24 | border-width: const(border-width); |
22 | 25 | border-color: transparent; |
23 | 26 |
|
24 | 27 | .ns-android & { |
| 28 | + padding-top: const(btn-padding-y) - 3; |
| 29 | + padding-bottom: const(btn-padding-y) - 3; |
| 30 | + |
25 | 31 | margin: const(btn-margin-y) const(btn-margin-x); |
26 | 32 | } |
27 | 33 | } |
28 | 34 |
|
29 | 35 | #{if($compat, '&-outline', '&.-outline')} { |
30 | | - height: const(btn-height) - 12; |
31 | 36 | border-width: const(border-width); |
32 | 37 |
|
33 | 38 | .ns-android & { |
| 39 | + padding-top: const(btn-padding-y) - 3; |
| 40 | + padding-bottom: const(btn-padding-y) - 3; |
| 41 | + |
34 | 42 | margin: const(btn-margin-y) const(btn-margin-x); |
35 | 43 | } |
36 | 44 | } |
37 | 45 |
|
38 | 46 | #{if($compat, '&-rounded-sm', '&.-rounded-sm')}, |
39 | 47 | #{if($compat, '&-rounded-lg', '&.-rounded-lg')} { |
40 | | - height: const(btn-height) - 12; |
41 | 48 | border-radius: const(border-radius-sm); |
42 | 49 |
|
43 | 50 | .ns-android & { |
| 51 | + padding-top: const(btn-padding-y) - 3; |
| 52 | + padding-bottom: const(btn-padding-y) - 3; |
| 53 | + |
44 | 54 | margin: const(btn-margin-y) const(btn-margin-x); |
45 | 55 | } |
46 | 56 | } |
|
0 commit comments