From cff448b7a818183619b37b0b1ee8d70e8b7e7752 Mon Sep 17 00:00:00 2001 From: Corson-Dosch <hcorson-dosch@usgs.gov> Date: Thu, 20 Feb 2025 16:18:19 -0600 Subject: [PATCH] Adjust laptop layout --- src/components/ThreatSankeyViz.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/ThreatSankeyViz.vue b/src/components/ThreatSankeyViz.vue index 81c8f2d..5bb0a42 100644 --- a/src/components/ThreatSankeyViz.vue +++ b/src/components/ThreatSankeyViz.vue @@ -70,7 +70,7 @@ height: window.innerHeight * 0.8, margin: 10, marginLeft: mobileView ? 80: 150, - marginRight: mobileView ? 125: 250, + marginRight: mobileView ? 135: 250, marginTop: mobileView ? 60 : 50, containerId: 'threat-container' }); @@ -425,8 +425,11 @@ <style lang="scss"> #threat-container { - max-width: 1000px; + max-width: min(1000px, 60vw); margin: 5rem auto 0 auto; + @media screen and (max-width: 600px) { + max-width: 100%; + } } .axis-text { font-size: 1.6rem; -- GitLab