Fix miniscule column/row headers
This commit is contained in:
parent
9275a866d0
commit
56484ec870
|
@ -15,7 +15,6 @@ table, tr, td {
|
||||||
}
|
}
|
||||||
th {
|
th {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 0.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,9 @@ pub fn SourcePlate(props: &SourcePlateProps) -> Html {
|
||||||
let column_header = {
|
let column_header = {
|
||||||
let headers = (1..=props.source_plate.plate.size().1)
|
let headers = (1..=props.source_plate.plate.size().1)
|
||||||
.map(|j| {
|
.map(|j| {
|
||||||
html! {<th>{format!("{:0>2}", j)}</th>}
|
html! {<th>
|
||||||
|
{format!("{:0>2}", j)}
|
||||||
|
</th>}
|
||||||
})
|
})
|
||||||
.collect::<Html>();
|
.collect::<Html>();
|
||||||
html! {<tr><th />{ headers }</tr>}
|
html! {<tr><th />{ headers }</tr>}
|
||||||
|
|
Loading…
Reference in New Issue