mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
fix: document homepage style optimization (#46818)
* fix: document homepage style optimization * fix: use the wrap property of Space
This commit is contained in:
parent
30c60b58fd
commit
a72ea642b2
@ -88,7 +88,7 @@ export default function ThemePicker(props: ThemePickerProps) {
|
||||
const [locale] = useLocale(locales);
|
||||
|
||||
return (
|
||||
<Space size={token.paddingLG}>
|
||||
<Space size={token.paddingLG} wrap>
|
||||
{Object.keys(THEMES).map((theme, index) => {
|
||||
const url = THEMES[theme as THEME];
|
||||
|
||||
|
@ -189,7 +189,7 @@ const useStyle = createStyles(({ token, cx }) => {
|
||||
`,
|
||||
|
||||
form: css`
|
||||
width: 800px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
`,
|
||||
carousel,
|
||||
|
Loading…
Reference in New Issue
Block a user