mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
Center without using center
This commit is contained in:
parent
4ab6e5df51
commit
24d71cec58
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
import { Typography, Statistic, Card, Col, Progress} from "antd";
|
||||
const { Text, Link } = Typography;
|
||||
const { Text } = Typography;
|
||||
|
||||
interface ItemProps {
|
||||
title: string,
|
||||
|
@ -16,9 +16,9 @@ export default function StatisticItem(props: ItemProps) {
|
|||
return (
|
||||
<Col span={8}>
|
||||
<Card>
|
||||
<center>
|
||||
<div style={{display: 'flex', alignItems: 'center', justifyContent: 'center'}}>
|
||||
<View {...props} />
|
||||
</center>
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue