Fix account table display on small devices

This commit is contained in:
Edgar P. Burkhart 2024-01-05 08:56:16 +01:00
parent a6e84fbc13
commit 0ff191e0a4
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 35 additions and 32 deletions

View File

@ -114,7 +114,7 @@ main {
display: grid;
column-gap: var(--gap);
row-gap: var(--gap);
grid-template-columns: 1fr;
grid-template-columns: 100%;
@media (width > 720px) {
grid-template-columns: max-content 1fr;
}

View File

@ -1,6 +1,7 @@
.table,
form {
overflow-x: auto;
width: 100%;
}
table {
border-collapse: collapse;

View File

@ -11,6 +11,7 @@
<div class="split">
<section class="accounts">
<h2>{% translate "Accounts" %}</h2>
<div class="table">
<table>
<thead>
<tr>
@ -45,6 +46,7 @@
</tr>
</tfoot>
</table>
</div>
</section>
<section class="categories">
<h2>{% translate "Categories" %}</h2>