We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615bdb4 commit ca074daCopy full SHA for ca074da
widgets/howto.php
@@ -2185,7 +2185,7 @@ protected function register_controls() {
2185
[
2186
'label' => __( 'Image Width', 'mighty' ),
2187
'type' => Controls_Manager::SLIDER,
2188
- 'size_units' => [ '%', 'px', 'em' ],
+ 'size_units' => [ '%' ],
2189
'range' => [
2190
'%' => [
2191
'min' => 1,
@@ -2209,7 +2209,7 @@ protected function register_controls() {
2209
],
2210
'selectors' => [
2211
'{{WRAPPER}} .mt-how-to-step-image' => 'width: {{SIZE}}{{UNIT}}',
2212
- '{{WRAPPER}} .mt-how-to-step-content' => 'width: (100% - {{SIZE}}{{UNIT}})',
+ '{{WRAPPER}} .mt-how-to-step-content' => 'width: calc(100% - {{SIZE}}{{UNIT}})',
2213
2214
]
2215
);
0 commit comments