Skip to content

Commit e5334cf

Browse files
authored
Merge pull request #1686 from mars-protocol/fix-footer-position
2 parents ae2d378 + 9c57e89 commit e5334cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/common/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export default function Footer() {
2222

2323
const version = `v${packageInfo.version}`
2424
return (
25-
<footer className='flex items-center justify-center w-full h-6 -mt-6'>
26-
<div className='w-full p-2 pt-0 text-right md:p-0 md:px-4'>
25+
<footer className='flex items-center justify-center w-full h-6 -mt-6 md:fixed md:bottom-0 md:right-0 md:justify-end md:w-auto'>
26+
<div className='w-full p-2 pt-0 text-right md:p-0 md:px-4 md:w-auto'>
2727
<TextLink
2828
className='text-xs text-white opacity-50 hover:text-white hover:opacity-80'
2929
href={`${DocURL.FEATURE_URL}${version}`}

0 commit comments

Comments
 (0)