Skip to content

Commit 264738c

Browse files
committed
prettify login shell select dropdown
1 parent d0f31db commit 264738c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

webroot/css/global.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ code {
2828
line-height: 22pt;
2929
}
3030

31+
.code {
32+
background: var(--light_panel_background);
33+
line-height: 22pt;
34+
font-family: monospace
35+
}
36+
3137
a {
3238
color: var(--accent);
3339
text-decoration: none;
@@ -186,8 +192,7 @@ input[type=radio] {
186192
select {
187193
border: 1px solid var(--light_borders);
188194
background: white;
189-
padding: 5px;
190-
width: 100%;
195+
padding: 5px 10px 5px 20px;
191196
max-width: 300px;
192197
border-radius: 5px;
193198
}

webroot/panel/account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202

203203
<form action="" method="POST">
204204
<input type="hidden" name="form_type" value="loginshell" />
205-
<select id="loginSelector" name="shellSelect">
205+
<select id="loginSelector" class="code" name="shellSelect">
206206
<?php
207207
foreach ($CONFIG["loginshell"]["shell"] as $shell) {
208208
echo "<option>$shell</option>";

0 commit comments

Comments
 (0)