Fix miniscule column/row headers

This commit is contained in:
Emilia Allison 2023-06-13 12:51:16 -04:00
parent 9275a866d0
commit 56484ec870
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,6 @@ table, tr, td {
}
th {
font-family: monospace;
font-size: 0.5rem;
}

View File

@ -99,7 +99,9 @@ pub fn SourcePlate(props: &SourcePlateProps) -> Html {
let column_header = {
let headers = (1..=props.source_plate.plate.size().1)
.map(|j| {
html! {<th>{format!("{:0>2}", j)}</th>}
html! {<th>
{format!("{:0>2}", j)}
</th>}
})
.collect::<Html>();
html! {<tr><th />{ headers }</tr>}