Skip to content

Commit 3dbd5ff

Browse files
committed
Fix footer on mobile.
1 parent 772e1aa commit 3dbd5ff

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

‎docs-site/design/styles.ts‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,16 @@ export function registerRegorStyles() {
625625
marginTop: '30px',
626626
fontSize: '10px',
627627
})
628-
root.select('.regor-footer .footer-actions').css({ gap: '16px' })
628+
root.select('.regor-footer .footer-actions').css({
629+
gap: '16px',
630+
flexShrink: '0',
631+
flexWrap: 'wrap',
632+
})
633+
root
634+
.select('.footer-actions > a, .footer-actions [data-consent-settings]')
635+
.css({
636+
whiteSpace: 'nowrap',
637+
})
629638
root.select('.footer-actions .consent-settings-teleport-area').css({
630639
display: 'inline-flex',
631640
alignItems: 'center',
@@ -709,6 +718,16 @@ export function registerRegorStyles() {
709718
mobile
710719
.select('.footer-inner')
711720
.css({ alignItems: 'start', flexDirection: 'column' })
721+
mobile.select('.footer-colophon').css({
722+
alignItems: 'start',
723+
flexDirection: 'column',
724+
gap: '12px',
725+
})
726+
mobile.select('.regor-footer .footer-actions').css({
727+
width: '100%',
728+
justifyContent: 'space-between',
729+
gap: '8px 16px',
730+
})
712731
mobile.select('.regor-topbar .header-nav').css({ gap: '12px' })
713732
mobile.select('.regor-topbar .topbar__controls').css({ gap: '12px' })
714733
mobile.select('.template-doc .doc-main').css({ paddingTop: '24px' })

0 commit comments

Comments
 (0)