mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
CSS fixes for mobile.
This commit is contained in:
parent
3d1dc08491
commit
bba75fd67f
8 changed files with 35 additions and 11 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import Link from 'components/common/Link';
|
||||
import styles from './Footer.module.css';
|
||||
|
|
@ -8,9 +9,9 @@ export default function Footer() {
|
|||
const { current } = useVersion();
|
||||
return (
|
||||
<footer className="container">
|
||||
<div className={styles.footer}>
|
||||
<div />
|
||||
<div>
|
||||
<div className={classNames(styles.footer, 'row')}>
|
||||
<div className="col-12 col-md-4" />
|
||||
<div className="col-12 col-md-4">
|
||||
<FormattedMessage
|
||||
id="message.powered-by"
|
||||
defaultMessage="Powered by {name}"
|
||||
|
|
@ -23,7 +24,7 @@ export default function Footer() {
|
|||
}}
|
||||
/>
|
||||
</div>
|
||||
<div>{`v${current}`}</div>
|
||||
<div className={classNames(styles.version, 'col-12 col-md-4')}>{`v${current}`}</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -4,4 +4,15 @@
|
|||
align-items: center;
|
||||
font-size: var(--font-size-small);
|
||||
min-height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.version {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.version {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue