diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 15:38:57 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 15:38:57 +0200 |
| commit | 6c317d6bc001b791a069236eb088de2ff8a764e0 (patch) | |
| tree | df2ef2f28ad5e8e6baef56f72993f5856c883157 | |
| parent | 367954fe15dcdd467e258b7228b139e4c8b02068 (diff) | |
| download | bycs-sol-6c317d6bc001b791a069236eb088de2ff8a764e0.tar.gz bycs-sol-6c317d6bc001b791a069236eb088de2ff8a764e0.zip | |
cockpit: fix css selector for student selection highlight
| -rw-r--r-- | cockpit/cockpit.css | 3 | ||||
| -rw-r--r-- | cockpit/js/cockpit.js | 2 |
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"; |
