fix the color input styles on chrome

pull/8/head
easrng 2022-07-12 20:21:36 +00:00
parent 61c456eceb
commit e43184ab49
1 changed files with 397 additions and 388 deletions

View File

@ -359,10 +359,19 @@ button.small-button {
cursor: pointer;
}
input[type="color"]::-moz-color-swatch,
input[type="color"]::-webkit-color-swatch,
input[type="color"]::-moz-color-swatch {
border: none;
margin: 0;
padding: 0;
}
input[type="color"]::-webkit-color-swatch {
border: none;
margin: 0;
padding: 0;
}
input[type="color"]::-webkit-color-swatch-wrapper {
/* This *should* be working in Chrome, but it doesn't for reasons that are beyond me. */
border: none;
margin: 0;
padding: 0;