refactor: update styles for 'optional' text below form fields

pagebuilder
abhisheks 2024-01-05 12:27:27 +05:30
parent 7547d850cc
commit d5459b64d2
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@
</div>
<div class="col-md-3 form-control-comment">
<div class="col-md-3 form-control-comment text-sm text-gray-600">
{block name='form_field_comment'}
{if (!$field.required && !in_array($field.type, ['radio-buttons', 'checkbox']))}
{l s='Optional' d='Shop.Forms.Labels'}