| @@ -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( |
| @@ -280,9 +280,9 @@ | ||
| 280 | 280 | </div> |
| 281 | 281 | <div class="frm9 frm_form_field frm-style-component" id="frm_style_class_custom_css" data-css-scope="<?php echo esc_attr( 'frm_style_' . $style->post_name ); ?>"> |
| 282 | 282 | <label class="frm-copy-text">.frm_style_<?php |
| 283 | 283 | echo esc_html( $style->post_name ); |
| 284 | - FrmAppHelper::icon_by_class( 'frm_icon_font frm-copy-icon' ); | |
| 284 | + FrmAppHelper::icon_by_class( 'frmfont frm-copy-icon' ); | |
| 285 | 285 | ?> |
| 286 | 286 | </label> |
| 287 | 287 | </div> |
| 288 | 288 | |