| @@ -247,14 +247,14 @@ | ||
| 247 | 247 | ); |
| 248 | 248 | ?> |
| 249 | 249 | </div> |
| 250 | 250 | |
| 251 | -<div id="frm_single_style_custom_css_editor" class="frm12 frm_form_field frm-style-component <?php echo empty( $style->post_content['enable_style_custom_css'] ) ? 'frm_hidden' : ''; ?>"> | |
| 251 | +<div id="frm_single_style_custom_css_editor" class="frm12 frm_form_field frm-style-component <?php echo ! empty( $style->post_content['enable_style_custom_css'] ) ? '' : 'frm_hidden'; ?>"> | |
| 252 | 252 | <?php |
| 253 | 253 | $css_scope_helper = new FrmCssScopeHelper(); |
| 254 | 254 | $custom_css = $style->post_content['single_style_custom_css'] ?? ''; |
| 255 | 255 | |
| 256 | - if ( ! empty( $custom_css ) ) { | |
| 256 | + if ( $custom_css ) { | |
| 257 | 257 | $custom_css = $css_scope_helper->unnest( $custom_css, 'frm_style_' . $style->post_name ); |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | 260 | FrmStylesController::custom_css( |