← All changes
|
assets/css/gutenberg/wdkit_enqueue_editor_styles.css
+11
-0
2.5.5
→
2.7.0
View file →
| @@ -7,5 +7,16 @@ | ||
| 7 | 7 | height: 20px; |
| 8 | 8 | opacity: .5; |
| 9 | 9 | background-image: url("../../images/svg/builder-logo.svg"); |
| 10 | 10 | background-repeat: no-repeat; |
| 11 | +} | |
| 12 | + | |
| 13 | +/* Dimension control sliders need allowReset so clearing the number field actually | |
| 14 | + unsets the value (WP's RangeControl silently ignores a cleared field otherwise), | |
| 15 | + but the "Reset" button that prop injects isn't wanted in this layout - hide it | |
| 16 | + (and its wrapper, so no empty gap is left where the button used to be). */ | |
| 17 | +.wdkit-dimension-section .components-range-control__reset { | |
| 18 | + display: none; | |
| 19 | +} | |
| 20 | +.wdkit-dimension-section span:has(> .components-range-control__reset) { | |
| 21 | + display: none; | |
| 11 | 22 | } |