File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 18
18
background-image : none ;
19
19
background-clip : padding-box ;
20
20
border : $input-btn-border-width solid $input-border-color ;
21
+
21
22
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
22
- @include border-radius ($input-border-radius );
23
+ @if $enable-rounded {
24
+ // Manually use the if/else instead of the mixin to account for iOS override
25
+ border-radius : $input-border-radius ;
26
+ } @else {
27
+ // Otherwise undo the iOS default
28
+ border-radius : 0 ;
29
+ }
30
+
23
31
@include box-shadow ($input-box-shadow );
24
32
@include transition (border-color ease-in-out .15s , box-shadow ease-in-out .15s );
25
33
Original file line number Diff line number Diff line change @@ -318,8 +318,6 @@ textarea {
318
318
// properly inherited. However, `line-height` isn't addressed there. Using this
319
319
// ensures we don't need to unnecessarily redeclare the global font stack.
320
320
line-height : inherit ;
321
- // iOS adds rounded borders by default
322
- border-radius : 0 ;
323
321
}
324
322
325
323
input [type = " radio" ],
You can’t perform that action at this time.
0 commit comments