From 77d454a6bb5824d155340d99447e80d322081927 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sun, 29 Nov 2020 13:20:40 +0800 Subject: [PATCH] Hide primary nav labels Make primary nav slick --- src/components/PrimaryNavItem/PrimaryNavItem.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/PrimaryNavItem/PrimaryNavItem.tsx b/src/components/PrimaryNavItem/PrimaryNavItem.tsx index b3a34c3..f0a417f 100644 --- a/src/components/PrimaryNavItem/PrimaryNavItem.tsx +++ b/src/components/PrimaryNavItem/PrimaryNavItem.tsx @@ -49,9 +49,8 @@ const Highlight = styled('div')({ const Title = styled('small')({ display: 'block', fontWeight: 'bolder', - '@media (min-width: 1080px)': { - display: 'none', - }, + position: 'absolute', + left: -999999, }) const MobileBase = styled(Base)({