Skip to content

Commit f112e4d

Browse files
committed
Improve appearance on smaller screens
1 parent b81d703 commit f112e4d

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

util/gh-pages/index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,25 @@
9898
}
9999
}
100100

101-
@media (min-width: 400px) {
101+
@media (min-width: 405px) {
102102
#upper-filters {
103103
display: flex;
104104
}
105105
}
106106

107-
@media (max-width: 412px) {
107+
@media (max-width: 430px) {
108+
/* Turn the version filter list to the left */
108109
#version-filter-selector {
109110
right: 0;
110111
left: auto;
111112
}
113+
}
112114

113-
<!-- TODO -->
114-
#version-filter-count {
115-
display: none;
115+
@media (max-width: 412px) {
116+
#upper-filters,
117+
.panel-body .search-control {
118+
padding-right: 8px;
119+
padding-left: 8px;
116120
}
117121
}
118122

util/gh-pages/script.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -215,20 +215,6 @@
215215
default:
216216
return true
217217
}
218-
219-
let cmpFilter;
220-
if (filter === "≥") {
221-
cmpFilter = "≤";
222-
} else {
223-
cmpFilter = "≥";
224-
}
225-
226-
if (filters[cmpFilter].enabled) {
227-
let cmpMinorVersion = filters[cmpFilter].minorVersion;
228-
return (cmpFilter === "≥") ? (lintMinorVersion >= cmpMinorVersion) : (lintMinorVersion <= cmpMinorVersion);
229-
}
230-
231-
return true;
232218
}
233219
}
234220

0 commit comments

Comments
 (0)