From 5d234c30880034636c58f729b6540098915cb569 Mon Sep 17 00:00:00 2001 From: AIC BV <89913092+AIC-BV@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:26:13 +0100 Subject: [PATCH] [fix] switch_field preview Currently has 1 opacity. Needs 0.5 for default WinterCMS disabled state --- .../widgets/form/partials/_field_switch.php | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/modules/backend/widgets/form/partials/_field_switch.php b/modules/backend/widgets/form/partials/_field_switch.php index cd176e122c..a8c47b519d 100644 --- a/modules/backend/widgets/form/partials/_field_switch.php +++ b/modules/backend/widgets/form/partials/_field_switch.php @@ -9,28 +9,29 @@ ?> -
= $field->commentHtml ? trans($field->comment) : e(trans($field->comment)) ?>
- -= $field->commentHtml ? trans($field->comment) : e(trans($field->comment)) ?>
+ +