aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-12 19:35:22 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-12 19:35:22 +0800
commit6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9 (patch)
tree22f39670e522e215b44342dc4c56bbdd5e7d491d
parent1175a18cccc5f7be0af44af3a92ab5b25d3e0e17 (diff)
downloaddexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.gz
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.bz2
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.lz
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.xz
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.zst
dexon-sol-tools-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.zip
WIP mobile slider
-rw-r--r--packages/website/ts/@next/components/slider/slider.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/slider/slider.tsx b/packages/website/ts/@next/components/slider/slider.tsx
index 10428df90..327b9fb05 100644
--- a/packages/website/ts/@next/components/slider/slider.tsx
+++ b/packages/website/ts/@next/components/slider/slider.tsx
@@ -121,6 +121,10 @@ const StyledSlide = styled.div`
flex: 0 0 auto;
opacity: 0.3;
+ @media (max-width: 500px) {
+ width: calc(100vw - 10px - 32px);
+ }
+
&.is-selected {
opacity: 1;
}