This commit is contained in:
parent
30a7fbc4f4
commit
fb096bb42c
|
@ -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 {
|
||||||
|
|
|
@ -39,4 +39,6 @@ filter.addEventListener("keyup", (ev) => {
|
||||||
lastFilterValue = filter.value;
|
lastFilterValue = filter.value;
|
||||||
|
|
||||||
applyFilter(filter.value);
|
applyFilter(filter.value);
|
||||||
})
|
})
|
||||||
|
|
||||||
|
fitler.focus();
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue