Skip to content

Commit 06db377

Browse files
Hide filters and search until they are ready
1 parent 025ba6e commit 06db377

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

util/gh-pages/index_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h1>Clippy Lints</h1> {# #}
5757
</noscript> {# #}
5858

5959
<div> {# #}
60-
<div class="panel panel-default"> {# #}
60+
<div class="panel panel-default" id="all-settings"> {# #}
6161
<div class="panel-body row"> {# #}
6262
<div id="upper-filters" class="col-12 col-md-5"> {# #}
6363
<div class="btn-group" id="lint-levels" tabindex="-1"> {# #}

util/gh-pages/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,5 +574,6 @@ document.addEventListener("keydown", handleShortcut);
574574
generateSettings();
575575
generateSearch();
576576
parseURLFilters();
577+
document.getElementById("all-settings").style.display = "block";
577578
scrollToLintByURL();
578579
filters.filterLints();

util/gh-pages/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ div.panel div.panel-body button.open {
6767
margin-top: 15px;
6868
}
6969

70+
#all-settings {
71+
display: none;
72+
}
73+
7074
@media (min-width: 992px) {
7175
.search-control {
7276
margin-top: 0;

0 commit comments

Comments
 (0)