forked from fixin.me/fixin.me
Refine styling and scripts
This commit is contained in:
parent
175ccf6eae
commit
ceea65cfa8
@ -372,6 +372,7 @@ table.items td.subunit:has(input) {
|
|||||||
padding-inline-start: calc(1.4em - 1px);
|
padding-inline-start: calc(1.4em - 1px);
|
||||||
}
|
}
|
||||||
table.items td.actions {
|
table.items td.actions {
|
||||||
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.4em;
|
gap: 0.4em;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<%= javascript_tag do %>
|
<%= javascript_tag do %>
|
||||||
function processKey(event) {
|
function processKey(event) {
|
||||||
if (event.key == "Escape") {
|
if (event.key == "Escape") {
|
||||||
event.target.closest("tr").querySelector("a[name=cancel]").click();
|
event.currentTarget.querySelector("a[name=cancel]").click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user