aboutsummaryrefslogtreecommitdiff
path: root/cockpit
diff options
context:
space:
mode:
Diffstat (limited to 'cockpit')
-rw-r--r--cockpit/cockpit.css3
-rw-r--r--cockpit/js/cockpit.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/cockpit/cockpit.css b/cockpit/cockpit.css
index eee370c..635b549 100644
--- a/cockpit/cockpit.css
+++ b/cockpit/cockpit.css
@@ -53,8 +53,7 @@
color: white;
}
-#student-selection-list li.highlight {
- background: yellow;
+#student-selection-list li > u.student-selection-list-highlight {
font-weight: bold;
}
diff --git a/cockpit/js/cockpit.js b/cockpit/js/cockpit.js
index f732cf0..23714ab 100644
--- a/cockpit/js/cockpit.js
+++ b/cockpit/js/cockpit.js
@@ -92,7 +92,7 @@ async function initStudentSelection() {
const regex = new RegExp(`(${filter})`, 'gi');
item.innerHTML = item.textContent.replace(
regex,
- "<span class='highlight'>$1</span>"
+ "<u class='student-selection-list-highlight'>$1</u>"
);
} else {
item.style.display = "none";