1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 20:55:50 +02:00

Add rounded corners to color swatches

This commit is contained in:
Martijn Cuppens
2019-08-17 15:54:52 +02:00
committed by XhmikosR
parent 57e17706a9
commit 68d67c8f16

View File

@@ -113,5 +113,13 @@
.form-control-color {
max-width: 3rem;
padding: ($input-padding-y / 2) ($input-padding-x / 2);
padding: $input-padding-y;
}
.form-control-color::-moz-color-swatch {
@include border-radius($input-border-radius);
}
.form-control-color::-webkit-color-swatch {
@include border-radius($input-border-radius);
}