1
0
mirror of https://github.com/chylex/Lightning-Tracker.git synced 2025-07-29 22:59:08 +02:00

Fix displaying errors in checkbox hierarchy components

This commit is contained in:
chylex 2020-08-23 12:39:31 +02:00
parent c2b8f046eb
commit 3d3d4c7fd0
2 changed files with 3 additions and 2 deletions
res/~resources/css
src/Pages/Components/Forms/Elements

View File

@ -250,7 +250,7 @@ div.checkbox-multiline-label > label {
margin-bottom: 1px;
}
div.checkbox-multiline-label > p {
div.checkbox-multiline-label p {
color: #444444;
font-size: 15px;
line-height: 18px;

View File

@ -47,13 +47,14 @@ final class FormCheckBoxHierarchyItem extends FormCheckBox{
<div class="checkbox-multiline$layout_class">
<input id="$name" name="$name" type="checkbox" value="$checked_value"$checked_attr$disabled_attr>
<div class="checkbox-multiline-label">
<label for="$name"$disabled_class>$label</label>$description
<label for="$name"$disabled_class>$label</label><div>$description
</div>
HTML;
$this->echoErrors();
echo <<<HTML
</div>
</div>
HTML;
}