mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
e119236b94
* feat: optimize size layout * feat: optimize site layout * feat: optimize site layout
25 lines
461 B
TypeScript
25 lines
461 B
TypeScript
import React from 'react';
|
|
import { css, Global } from '@emotion/react';
|
|
|
|
export default () => (
|
|
<Global
|
|
styles={css`
|
|
.design-inline-cards {
|
|
display: flex;
|
|
margin: 0 -20px;
|
|
}
|
|
.design-inline-cards > * {
|
|
flex: 10%;
|
|
margin: 0 20px;
|
|
}
|
|
.design-inline-cards img {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
.design-inline-cards h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
`}
|
|
/>
|
|
);
|