2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+9 -1
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);
}