Skip to content

Commit a9ae431

Browse files
kwilkinsGitHub Enterprise
authored andcommitted
Merge pull request linode#51 from kwilkins/DLC-83-filters-fix
DLC-83 Styling updates: Fixing Filters Button Functionality
2 parents 008be02 + 8b12c26 commit a9ae431

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
<div class="flex flex-wrap mb-8 -mx-4">
44

55
<div class="w-full sm:w-1/4 md:w-1/5 px-4">
6-
<div class="button-group filters-group sm:py-4 sm:mt-4">
7-
<div id="createdFilters" class="flex flex-wrap md:block">
6+
<div id="filters" class="button-group filters-group sm:py-4 sm:mt-4">
7+
<div class="flex flex-wrap md:block">
88
<div class="md:my-4 invisible sm:visible">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
99
<h4 class="uppercase mb-4 w-full">Created By</h4>
1010
{{ partial "1_atoms/radio.html" (dict "ID" "linode" "Name" "created" "Value" ".linode" "Label" "Linode") . }}
1111
{{ partial "1_atoms/radio.html" (dict "ID" "community" "Name" "created" "Value" ".community" "Label" "Community") . }}
1212
</div>
13-
<div id="languageFilters" class="flex flex-wrap md:block">
13+
<div class="flex flex-wrap md:block">
1414
<h4 class="uppercase mb-4 w-full">Language</h4>
1515
{{range ($.Site.GetPage "taxonomyTerm" "languages").Pages }}
1616
{{ partial "1_atoms/radio.html" (dict "ID" (lower (replace .Title "." "-")) "Name" "language" "Value" (print "." (lower (replace .Title "." "-"))) "Label" .Title) . }}
1717
{{end}}
1818
</div>
19-
<button class="text-BaseBlue underline mt-4" onclick="uncheckAll('languageFilters')">Reset Filters</button>
19+
<button class="text-BaseBlue underline mt-4" onclick="uncheckAll('filters')">Reset Filters</button>
2020
</div>
2121
</div>
2222

0 commit comments

Comments
 (0)