Skip to content

Commit

Permalink
fix: form style applying to archive layout, font-weight values
Browse files Browse the repository at this point in the history
  • Loading branch information
jhung committed Jun 23, 2020
1 parent ce7d92d commit 22884d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/assets/styles/components/_filter-sort.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
}

.filters {
label {
font-weight: $font-weight-normal;
}

@include breakpoint-down(md) {
display: none;

Expand Down
2 changes: 1 addition & 1 deletion src/components/30-layouts/40-archive/archive.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<div class="filter-wrapper">
{% render '@button--borderless', {standAlone: true, id: 'show-filters'}, true %}
<form class="filters" action="/">
<form class="form filters" action="/">
{% render '@button--borderless', {standAlone: true, id: 'hide-filters', label: 'Close', iconPosition: 'end', icon: 'close'}, true %}
<h2 class="h1 screen-reader-text" tabindex="-1">Filters</h2>
<div class="accordion accordion--filter-list">
Expand Down

0 comments on commit 22884d8

Please sign in to comment.