mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Merge pull request #19215 from twbs/label-pill-border-radius
Add $label-pill-border-radius variable
This commit is contained in:
commit
ca77f52875
@ -45,9 +45,7 @@ a.label {
|
||||
.label-pill {
|
||||
padding-right: $label-pill-padding-x;
|
||||
padding-left: $label-pill-padding-x;
|
||||
// Use a higher than normal value to ensure completely rounded edges when
|
||||
// customizing padding or font-size on labels.
|
||||
@include border-radius(10rem);
|
||||
@include border-radius($label-pill-border-radius);
|
||||
}
|
||||
|
||||
// Colors
|
||||
|
@ -624,6 +624,9 @@ $label-padding-x: .4em !default;
|
||||
$label-padding-y: .25em !default;
|
||||
|
||||
$label-pill-padding-x: .6em !default;
|
||||
// Use a higher than normal value to ensure completely rounded edges when
|
||||
// customizing padding or font-size on labels.
|
||||
$label-pill-border-radius: 10rem !default;
|
||||
|
||||
// Modals
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user