Tighten checkbox invalid stack spacing

This commit is contained in:
2026-06-22 18:24:17 +02:00
parent 1f478a8059
commit e6b76c88ed
2 changed files with 10 additions and 34 deletions
+8 -11
View File
@@ -536,17 +536,14 @@
<div class="sg-state-example">
<p class="sg-state-example__label sg-table-label">form-invalid</p>
<div class="sg-labeled-input-row sg-labeled-input-row--checkbox-invalid">
<span class="sg-label">Label</span>
<span class="sg-input-validation-stack">
<label class="sg-checkbox-field-option sg-body" data-component="checkbox-field" data-component-state="default">
<button class="sg-checkbox-field" type="button" role="checkbox" aria-checked="false" aria-label="Standard Checkbox mit Validierung" aria-invalid="true" aria-describedby="checkbox-invalid-feedback">
<span class="sg-checkbox-field__mark" aria-hidden="true"></span>
</button>
<span>Standard Checkbox</span>
</label>
<span class="sg-form-validation-text" id="checkbox-invalid-feedback">Bitte mindestens eine Option auswählen.</span>
</span>
<div class="sg-input-validation-stack sg-input-validation-stack--checkbox-invalid">
<label class="sg-checkbox-field-option sg-body" data-component="checkbox-field" data-component-state="default">
<button class="sg-checkbox-field" type="button" role="checkbox" aria-checked="false" aria-label="Standard Checkbox mit Validierung" aria-invalid="true" aria-describedby="checkbox-invalid-feedback">
<span class="sg-checkbox-field__mark" aria-hidden="true"></span>
</button>
<span>Standard Checkbox</span>
</label>
<span class="sg-form-validation-text" id="checkbox-invalid-feedback">Bitte mindestens eine Option auswählen.</span>
</div>
</div>
</div>