Skip to content

Commit

Permalink
fixup! Tidy up front-end
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Nov 18, 2024
1 parent 954522e commit 2d70cf1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 12 additions & 1 deletion www/docs/style/sass/parts/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
display: flex;
justify-content: space-between;
text-align: left;
padding: 10px;
padding: 0.5rem;
font-size: 1rem;
font-weight: 400;
cursor: pointer;
border: none;
color: $body-font-color;
Expand Down Expand Up @@ -226,6 +227,7 @@ button {
label {
color: $body-font-color;
font-size: 1.1rem;
line-height: 1.2;
margin-bottom: 0.75rem;
}

Expand All @@ -250,6 +252,15 @@ button {
border-color: $body-font-color;
}

.checkbox-wrapper {
display: flex;
flex-direction: row;

input[type="checkbox"], input[type="radio"] {
flex-shrink: 0;
}
}

.checkbox-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
</div>

<div class="alert-page-subsection">
<input type="checkbox" id="match_all" name="match_all"<?= $match_all ? ' checked' : ''?>>
<label for="match_all"><?= gettext('Only alert if all words present, default is if any word is present') ?></label>
<div class="checkbox-wrapper">
<input type="checkbox" id="match_all" name="match_all"<?= $match_all ? ' checked' : ''?>>
<label for="match_all"><?= gettext('Only alert if all words present, default is if any word is present') ?></label>
</div>
</div>

<div class="alert-page-subsection">
Expand Down

0 comments on commit 2d70cf1

Please sign in to comment.