Improved the style a little
All checks were successful
/ publish (push) Successful in 1m10s

This commit is contained in:
Leon Mika 2025-02-20 07:46:58 +11:00
parent 30a7fbc4f4
commit fb096bb42c
3 changed files with 8 additions and 7 deletions

View file

@ -12,10 +12,9 @@ body {
font-family: atkinson, sans-serif; font-family: atkinson, sans-serif;
line-height: 1.5; line-height: 1.5;
margin-inline: auto; margin-inline: auto;
padding-inline: 20px; max-width: 400px;
max-width: 600px;
width: auto; width: auto;
font-size: 1.2rem; font-size: 1.1rem;
} }
h1 { h1 {
@ -44,7 +43,7 @@ table {
margin-inline: auto; margin-inline: auto;
border-collapse: collapse; border-collapse: collapse;
table-layout: fixed; table-layout: fixed;
width: 400px; width: 100%;
} }
table thead { table thead {
@ -52,7 +51,7 @@ table thead {
} }
table thead th:nth-child(1) { table thead th:nth-child(1) {
width: 80px; width: 3em;
} }
table tbody td { table tbody td {

View file

@ -39,4 +39,6 @@ filter.addEventListener("keyup", (ev) => {
lastFilterValue = filter.value; lastFilterValue = filter.value;
applyFilter(filter.value); applyFilter(filter.value);
}) })
fitler.focus();

View file

@ -2,7 +2,7 @@
{{ .Content }} {{ .Content }}
<div class="filter"> <div class="filter">
<input placeholder="filter" id="filter"> <input placeholder="Filter" id="filter">
</div> </div>
<table> <table>