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
1 changed files with 9 additions and 1 deletions

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);
}