aboutsummaryrefslogtreecommitdiff
path: root/cockpit
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:49:16 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:49:16 +0200
commit84dfe717a64138b75396fd21b995b68330468f8f (patch)
treed1e7e037fda6487e2b374d9b6bae021633cfc4e8 /cockpit
parent6c317d6bc001b791a069236eb088de2ff8a764e0 (diff)
downloadbycs-sol-84dfe717a64138b75396fd21b995b68330468f8f.tar.gz
bycs-sol-84dfe717a64138b75396fd21b995b68330468f8f.zip
cockpit: add margin to selection-container and move display into html
Diffstat (limited to 'cockpit')
-rw-r--r--cockpit/cockpit.css6
-rw-r--r--cockpit/cockpit.html2
2 files changed, 5 insertions, 3 deletions
diff --git a/cockpit/cockpit.css b/cockpit/cockpit.css
index 635b549..759d6d9 100644
--- a/cockpit/cockpit.css
+++ b/cockpit/cockpit.css
@@ -1,5 +1,8 @@
-#student-selection-search-container {
+#student-selection-container {
margin: 0.2rem;
+}
+
+#student-selection-search-container {
position: relative;
}
@@ -22,7 +25,6 @@
font-size: 1.875rem;
cursor: pointer;
color: #888;
- display: none; /* hidden until input has text */
}
#student-selection-clear:hover {
diff --git a/cockpit/cockpit.html b/cockpit/cockpit.html
index 1ba57c9..2f1dc79 100644
--- a/cockpit/cockpit.html
+++ b/cockpit/cockpit.html
@@ -19,7 +19,7 @@
class="student-selection"
placeholder="Vorname Nachname Klasse"
/>
- <button id="student-selection-clear">&times;</button>
+ <button id="student-selection-clear" display="style: none;">&times;</button>
</div>
<ul id="student-selection-list">
</ul>