Skip to content

Commit cf81176

Browse files
heittprthe-maldridge
authored andcommitted
voidsearch.js: move exact match styling to css/misc.css
1 parent 40ea7b9 commit cf81176

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

assets/css/misc.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ img, .video {
132132
text-align:right;
133133
}
134134

135+
.void-search-results td.exact {
136+
background:#dff0d8;
137+
font-weight:bold;
138+
}
139+
135140
.void-search-results tr td {
136141
color:#555;
137142
}
@@ -344,8 +349,8 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
344349
.void-search-results tr:hover td {
345350
color:#62b086;
346351
}
347-
.void-search-results tr:nth-child(2) td {
348-
background:#295340 !important;
352+
.void-search-results td.exact {
353+
background:#295340;
349354
}
350355
.void-search-results tr:nth-child(even) {
351356
background:#111;

assets/js/voidsearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
packagesExactMatch.map((p) => {
136136
return packageCell(
137137
transformPackageForPackageCell(p),
138-
"<td style='background-color: #dff0d8; font-weight:bold'>"
138+
"<td class='exact'>"
139139
);
140140
})
141141
);

0 commit comments

Comments
 (0)