diff --git a/classes/views/frm-form-actions/_action_inside.php b/classes/views/frm-form-actions/_action_inside.php index 2500d3004c..bb74d1bde3 100644 --- a/classes/views/frm-form-actions/_action_inside.php +++ b/classes/views/frm-form-actions/_action_inside.php @@ -9,10 +9,11 @@

-

-

-

-

@@ -45,11 +47,12 @@

-

@@ -57,19 +60,21 @@

-

-

-

+ - +

diff --git a/css/frm_admin.css b/css/frm_admin.css index 72ad51eb94..e456e265aa 100644 --- a/css/frm_admin.css +++ b/css/frm_admin.css @@ -5829,6 +5829,19 @@ p.frm_reply_to_container { vertical-align: bottom; } +.frm_cc_row.frm_email_row .frm-with-right-icon, +.frm_bcc_row.frm_email_row .frm-with-right-icon, +.frm_reply_to_row.frm_email_row .frm-with-right-icon { + width: calc(100% - 20px); + display: inline-block; +} + +.frm_email_row .frm_remove_field .frm_close_icon { + position: relative; + fill: var(--grey-500); + vertical-align: middle; +} + .frm_logic_field_opts { max-width: 35%; } @@ -6113,7 +6126,7 @@ span.howto { text-align: start; } -.frm_form_action_settings .frm_email_row .frm_remove_field svg { +.frm_form_action_settings .frm_email_row .frm_tooltip_icon { position: relative; bottom: 2px; } diff --git a/js/formidable_admin.js b/js/formidable_admin.js index ed8bad1b9b..a9c325a311 100644 --- a/js/formidable_admin.js +++ b/js/formidable_admin.js @@ -8570,6 +8570,10 @@ function frmAdminBuildJS() { closeSvg = document.querySelectorAll( '.frm_has_shortcodes use' ); for ( u = 0; u < closeSvg.length; u++ ) { if ( closeSvg[u].getAttributeNS( 'http://www.w3.org/1999/xlink', 'href' ) === '#frm_close_icon' ) { + if ( closeSvg[u].closest( '.frm_remove_field' ) ) { + // Don't change the icon for the email fields remove button. + continue; + } closeSvg[u].setAttributeNS( 'http://www.w3.org/1999/xlink', 'href', '#frm_more_horiz_solid_icon' ); } }