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 12, 2024
1 parent 99b8cb0 commit 9d0db9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
7 changes: 4 additions & 3 deletions www/docs/style/sass/parts/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: end;
align-items: center;
margin-bottom: 0.5rem;

h2 {
margin-bottom: 0.5rem;
button, h2 {
margin-bottom: 0;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@
<li class="label label--primary-light"><?= _htmlspecialchars($keyword) ?>
<?php } ?>
</ul>
<div class="add-remove-tool display-none">
<input type="text" placeholder="e.g.'freedom of information'">
<button type="submit" class="prefix">add</button>
</div>
</div>
<?php } ?>

Expand All @@ -92,21 +88,11 @@
<li class="label label--red"><?= _htmlspecialchars($exclusion) ?>
<?php } ?>
</ul>
<div class="add-remove-tool display-none">
<input type="text" placeholder="e.g.'freedom of information'">
<button type="submit" class="prefix">add</button>
</div>
</div>
<?php } ?>

<?php if ($alert['sections']) { ?>
<div class="keyword-list alert-page-subsection">
<h3 class="display-none"><label for="sections">Which section should this alert apply to?</label></h3>
<select name="sections" id="sections" class="display-none">
<option value="uk-parliament">All sections</option>
<option value="uk-parliament">UK Parliament</option>
<option value="scottish-parliament">Scottish Parliament</option>
</select>
<h3 class="heading-with-bold-word">Which <span class="bold">section</span> should this alert apply to:</h3>
<ul>
<?php foreach ($alert["sections_verbose"] as $section) { ?>
Expand Down

0 comments on commit 9d0db9d

Please sign in to comment.