From cac4a48fc35a3688c5e6e64a5fae5d77056175a7 Mon Sep 17 00:00:00 2001 From: Shajia Abidi Date: Tue, 5 Nov 2024 20:30:30 -0800 Subject: [PATCH] updated media queries --- .../components/county-dataviz/county-dataviz.less | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/js/components/county-dataviz/county-dataviz.less b/src/js/components/county-dataviz/county-dataviz.less index 5f3914f..e500691 100644 --- a/src/js/components/county-dataviz/county-dataviz.less +++ b/src/js/components/county-dataviz/county-dataviz.less @@ -134,8 +134,17 @@ border: 2px solid @gray-lighter; padding: 10px 10px 30px 10px; - @media @tablet { - width: 33%; + @media (@mobile-above) and (@tablet){ + width: 50%; + position: relative; + top: 50%; + -webkit-transform: translateX(50%); + -ms-transform: translateX(50%); + transform: translateX(50%); + } + + @media @tablet-above { + width:33%; } @media @mobile {