Skip to content

Commit f048dee

Browse files
committed
chore: swap menu location
1 parent fb930ba commit f048dee

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/app/components/Header/Header.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,14 @@ const Head = styled(animated.header, {
184184

185185
const FlexContainer = styled('div', {
186186
display: 'flex',
187+
flexDirection: 'row-reverse',
187188
alignItems: 'center',
188189
justifyContent: 'space-between',
189190
width: '100%',
190191
px: '$25',
191192

192193
'@tabletUp': {
194+
flexDirection: 'row',
193195
px: '$50',
194196

195197
/**

docs/app/components/Header/HeaderSidePanel.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ export const HeaderSidePanel = ({
3030

3131
const transitions = useTransition(isOpen, {
3232
from: {
33-
x: '-100%',
33+
x: '100%',
3434
opacity: 0,
3535
},
3636
enter: {
3737
x: '0',
3838
opacity: 1,
3939
},
4040
leave: {
41-
x: '-100%',
41+
x: '100%',
4242
opacity: 0,
4343
},
4444
config: {
4545
tension: 210,
46-
friction: 25,
46+
friction: 30,
4747
mass: 1,
4848
},
4949
})
@@ -110,7 +110,6 @@ const MobileMenuOverlay = styled(animated.div, {
110110

111111
const MobileMenu = styled(animated.div, {
112112
position: 'fixed',
113-
left: 0,
114113
right: 0,
115114
top: 0,
116115
bottom: 0,

0 commit comments

Comments
 (0)