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);
|
||||
}
|
||||
table.items td.actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 0.4em;
|
||||
justify-content: end;
|
||||
|
@ -33,7 +33,7 @@
|
||||
<%= javascript_tag do %>
|
||||
function processKey(event) {
|
||||
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