Fix show archived button

This commit is contained in:
Edgar P. Burkhart 2024-12-31 17:13:33 +01:00
parent 94d1907f9a
commit fe59869a1d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 8 additions and 3 deletions

View file

@ -355,6 +355,10 @@ ul.messages {
dl { dl {
margin: 0; margin: 0;
dt,
dd {
margin: 0;
}
.account { .account {
padding: 0.5rem; padding: 0.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
@ -366,8 +370,8 @@ ul.messages {
&.more { &.more {
border-style: dashed; border-style: dashed;
} }
&.more label span::after { &.more label {
content: "\2002"; display: block;
} }
} }
&:not(.show-archive) .account.archived { &:not(.show-archive) .account.archived {
@ -428,6 +432,7 @@ a,
} }
.statement-details { .statement-details {
overflow-x: auto;
display: grid; display: grid;
grid-template-columns: repeat(4, min-content); grid-template-columns: repeat(4, min-content);
grid-gap: var(--gap); grid-gap: var(--gap);

View file

@ -25,7 +25,7 @@
{% endfor %} {% endfor %}
<div class="more account"> <div class="more account">
<dt> <dt>
<label for="show-archived-accounts">{{ "archive"|remix }}{% translate "Show archived" %}</label> <label class="wi" for="show-archived-accounts">{{ "archive"|remix }}{% translate "Show archived" %}</label>
</dt> </dt>
<dd> <dd>
<input type="checkbox" class="show-archived" id="show-archived-accounts" /> <input type="checkbox" class="show-archived" id="show-archived-accounts" />