From 4e2ec63c8558c0083edabc56b1d9162206b18521 Mon Sep 17 00:00:00 2001 From: Pat Date: Fri, 20 Sep 2024 12:07:53 -0600 Subject: [PATCH] Webform: require field indicator --- css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/css/style.css b/css/style.css index eaaf70de..61201efd 100644 --- a/css/style.css +++ b/css/style.css @@ -1029,6 +1029,15 @@ form label { display: inline; } +/* Required * for Webform */ +form.webform-submission-form .form-required::after { + display: inline-block; + margin-inline: 0.15em; + content: "*"; + color: #f00; + font-size: 0.875rem; +} + form input[type="checkbox"]+label, form input[type="radio"]+label { display: inline-block;