diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 19:35:22 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 19:35:22 +0800 |
commit | 6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9 (patch) | |
tree | 22f39670e522e215b44342dc4c56bbdd5e7d491d | |
parent | 1175a18cccc5f7be0af44af3a92ab5b25d3e0e17 (diff) | |
download | dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.gz dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.bz2 dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.lz dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.xz dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.tar.zst dexon-0x-contracts-6c4c666d9ba6f62f5a80fa9d9ef4562800e663d9.zip |
WIP mobile slider
-rw-r--r-- | packages/website/ts/@next/components/slider/slider.tsx | 4 |
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; } |