From 1b8b66c780efc78babb4c42a777b4812af08b3b8 Mon Sep 17 00:00:00 2001 From: Thomas Boutell Date: Sun, 15 May 2022 16:14:31 -0400 Subject: [PATCH] * Layout of common and scientific names is better * Open new tab when accessing a nursery website --- src/components/Explorer.vue | 24 +++++++++++++----------- src/components/Map.vue | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/Explorer.vue b/src/components/Explorer.vue index 11bb379..9c95ade 100644 --- a/src/components/Explorer.vue +++ b/src/components/Explorer.vue @@ -194,8 +194,10 @@
-

{{ result['Common Name'] }}

-
{{ result['Scientific Name'] }}
+
+

{{ result['Common Name'] }}

+
{{ result['Scientific Name'] }}
+
@@ -1395,28 +1397,28 @@ td, th { aspect-ratio: 1/1; border-radius: 8px 8px 0 0; } -.common-name { +.names { position: absolute; - bottom: 74px; + top: calc(50% - 16px); left: 16px; margin: 0; padding: 0; font-size: 14px; - font-weight: normal; font-family: Lato; color: white; } -.scientific-name { - position: absolute; - bottom: 56px; - left: 16px; +.common-name { + font-size: 14px; margin: 0; padding: 0; + font-weight: normal; +} +.scientific-name { font-size: 12px; font-style: italic; + margin: 0; + padding: 0; font-weight: normal; - font-family: Lato; - color: white; } .plant-controls-wrapper { position: absolute; diff --git a/src/components/Map.vue b/src/components/Map.vue index c862040..c798790 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -8,7 +8,7 @@