fix: document homepage style optimization (#46818)

* fix: document homepage style optimization

* fix: use the wrap property of Space
This commit is contained in:
舜岳 2024-01-05 17:49:04 +08:00 committed by GitHub
parent 30c60b58fd
commit a72ea642b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -189,7 +189,7 @@ const useStyle = createStyles(({ token, cx }) => {
`,
form: css`
width: 800px;
width: 100%;
margin: 0 auto;
`,
carousel,