Compare commits
No commits in common. "c6dd64137b6c754f655b2b310292dda5b648c3ac" and "27bf89fa3e2a43ef1a6dd5ea7454f3c8787e24e3" have entirely different histories.
c6dd64137b
...
27bf89fa3e
|
|
@ -89,7 +89,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-style {
|
.select-style {
|
||||||
@apply block w-full px-2 py-1.5 border border-default-slate/50 rounded-xs text-base-background appearance-none
|
@apply block w-full px-2 py-1.5 border border-default-slate/50 rounded-xs text-base-background
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-style option {
|
.select-style option {
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@
|
||||||
<div class="text-xl flex items-center space-x-1 w-full h-full">
|
<div class="text-xl flex items-center space-x-1 w-full h-full">
|
||||||
<%= select_tag "schedule[#{s.id}][hour]",
|
<%= select_tag "schedule[#{s.id}][hour]",
|
||||||
options_for_select((0..23).map { |h| [h.to_s.rjust(2, '0'), h] }, s.hour),
|
options_for_select((0..23).map { |h| [h.to_s.rjust(2, '0'), h] }, s.hour),
|
||||||
class: "select-style text-white min-w-[60px]" %>
|
class: "select-style text-white min-w-[60px] h-full" %>
|
||||||
<div>:</div>
|
<div>:</div>
|
||||||
<%= number_field_tag "schedule[#{s.id}][minute]",
|
<%= number_field_tag "schedule[#{s.id}][minute]",
|
||||||
s.minute, min: 0, max: 59, step: 1, inputmode: "decimal",
|
s.minute, min: 0, max: 59, step: 1, inputmode: "decimal",
|
||||||
class: "input-style min-w-[60px]" %>
|
class: "input-style min-w-[60px] h-full" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue