From 531c4159b19c74547e4ae4784f10cc54e3ac77ea Mon Sep 17 00:00:00 2001 From: Emilia Date: Tue, 13 Jun 2023 15:51:23 -0400 Subject: [PATCH] Specific styling for very large plates --- .../scss/default_theme/components/_plates.scss | 17 +++++++++++++++++ src/components/plates/destination_plate.rs | 3 ++- src/components/plates/source_plate.rs | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/assets/scss/default_theme/components/_plates.scss b/assets/scss/default_theme/components/_plates.scss index 0317e1d..32b80f1 100644 --- a/assets/scss/default_theme/components/_plates.scss +++ b/assets/scss/default_theme/components/_plates.scss @@ -50,3 +50,20 @@ td.plate_cell.in_transfer div.plate_cell_inner::after { td.current_select div.plate_cell_inner { border: 3px solid black; } + + +// Styles for specific plate types: + +.W1536 { + th { + font-size: 0.9rem; + } +} + +.W3456 { + th { + font-size: 0.9rem; + line-height: 0px; + padding-bottom: 0.4rem; + } +} diff --git a/src/components/plates/destination_plate.rs b/src/components/plates/destination_plate.rs index 888a36e..7e44524 100644 --- a/src/components/plates/destination_plate.rs +++ b/src/components/plates/destination_plate.rs @@ -126,7 +126,8 @@ pub fn DestinationPlate(props: &DestinationPlateProps) -> Html { .collect::(); html! { -
+
Html { .collect::(); html! { -
+