From 2515997329fa959a2a608a078b0b01d8e07e3286 Mon Sep 17 00:00:00 2001 From: Sherv Date: Thu, 12 Sep 2024 17:09:41 +0300 Subject: [PATCH] Fix checkbox alignment issue for long text and links --- css/custom_theme.css.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/css/custom_theme.css.php b/css/custom_theme.css.php index 54e013fee0..75b0ba8546 100644 --- a/css/custom_theme.css.php +++ b/css/custom_theme.css.php @@ -816,11 +816,15 @@ } .with_frm_style .frm_checkbox label, -.with_frm_style .frm_radio label{ - display: flex; - align-items: center; - gap: 9px; - white-space: normal; +.with_frm_style .frm_radio label { + display: inline-block; + vertical-align: middle; + white-space:normal; +} + +.with_frm_style .frm_checkbox label input[type=checkbox], +.with_frm_style .frm_radio label input[type=radio] { + margin-right: 4px; } .with_frm_style .frm_checkbox label:not(.frm-label-disabled), @@ -830,6 +834,7 @@ .with_frm_style .vertical_radio .frm_checkbox label, .with_frm_style .vertical_radio .frm_radio label{ + display: block; width: 100%; }