fix: Add 'narrow' class to hour and minute select elements for improved styling

This commit is contained in:
Zack Spear
2025-06-30 13:02:53 -07:00
parent 9569790be1
commit 94b068f76f

View File

@@ -1028,12 +1028,12 @@ _(Day of the month)_:
_(Time of the day)_:
: <span id="balance-hour1" style="display:none">
<select name="hour1">
<select name="hour1" class="narrow">
<?for ($d=0; $d<=23; $d++):?>
<?=mk_option(_var($$balance, 'hour'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>
</select>
<select name="min">
<select name="min" class="narrow">
<?for ($d=0; $d<=55; $d+=5):?>
<?=mk_option(_var($$balance, 'min'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>
@@ -1143,12 +1143,12 @@ _(Day of the month)_:
_(Time of the day)_:
: <span id="scrub-hour1" style="display:none">
<select name="hour1">
<select name="hour1" class="narrow">
<?for ($d=0; $d<=23; $d++):?>
<?=mk_option(_var($$scrub, 'hour'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>
</select>
<select name="min">
<select name="min" class="narrow">
<?for ($d=0; $d<=55; $d+=5):?>
<?=mk_option(_var($$scrub, 'min'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>
@@ -1326,12 +1326,12 @@ _(Day of the month)_:
_(Time of the day)_:
: <span id="scrub-hour1" style="display:none">
<select name="hour1">
<select name="hour1" class="narrow">
<?for ($d=0; $d<=23; $d++):?>
<?=mk_option(_var($$scrub, 'hour'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>
</select>
<select name="min">
<select name="min" class="narrow">
<?for ($d=0; $d<=55; $d+=5):?>
<?=mk_option(_var($$scrub, 'min'), strval($d), sprintf("%02d", $d))?>
<?endfor;?>