1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Blacklist border-radius property (use mixin instead) (#27900)

This commit is contained in:
Martijn Cuppens
2018-12-23 08:11:11 +01:00
committed by XhmikosR
parent 6a5a1b073d
commit 39b14c9806
14 changed files with 40 additions and 35 deletions

View File

@@ -18,13 +18,7 @@
border: $input-border-width solid $input-border-color;
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
@if $enable-rounded {
// Manually use the if/else instead of the mixin to account for iOS override
border-radius: $input-border-radius;
} @else {
// Otherwise undo the iOS default
border-radius: 0;
}
@include border-radius($input-border-radius, 0);
@include box-shadow($input-box-shadow);
@include transition($input-transition);