mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: eliminate some slow CSS selectors (#25392)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
.color-picker {
|
||||
display: flex;
|
||||
* {
|
||||
height: 35px;
|
||||
}
|
||||
align-items: stretch;
|
||||
|
||||
.add-on {
|
||||
@include form-item-sizing;
|
||||
background-color: var(--primary-low);
|
||||
@@ -12,13 +11,14 @@
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
.hex-input {
|
||||
margin-right: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.picker {
|
||||
padding: 0;
|
||||
border-left: none;
|
||||
cursor: pointer;
|
||||
margin-bottom: 0;
|
||||
height: unset;
|
||||
}
|
||||
// Reset webkit/blink default style
|
||||
input[type="color"]::-webkit-color-swatch-wrapper {
|
||||
|
||||
Reference in New Issue
Block a user