aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-17 21:32:05 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-17 21:32:05 +0800
commit934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8 (patch)
treeadbb8b72788ee89725a8fe57d507cab1dc6f8904 /packages
parent59325897761c40cd57a30d5ba5c83321a8dbe96a (diff)
downloaddexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar.gz
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar.bz2
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar.lz
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar.xz
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.tar.zst
dexon-sol-tools-934d3b5d798b0cf47e0dcdf36cf9a047bb0efcb8.zip
Tweak banner border on mobile
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/components/banner.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/banner.tsx b/packages/website/ts/@next/components/banner.tsx
index e779c5889..df6454c86 100644
--- a/packages/website/ts/@next/components/banner.tsx
+++ b/packages/website/ts/@next/components/banner.tsx
@@ -137,4 +137,11 @@ const Border = styled.div<BorderProps>`
top: ${props => !props.isBottom && 0 };
bottom: ${props => props.isBottom && 0 };
transform: translate(-112px);
+
+ @media (max-width: 768px) {
+ width: calc(100% + 82px);
+ height: 40px;
+ transform: translate(-41px);
+ background-size: auto 80px;
+ }
`;