Skip to content

Commit

Permalink
fix: document homepage style optimization (#46818)
Browse files Browse the repository at this point in the history
* fix: document homepage style optimization

* fix: use the wrap property of Space
  • Loading branch information
shunyue1320 committed Jan 5, 2024
1 parent 30c60b5 commit a72ea64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dumi/pages/index/components/Theme/ThemePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
2 changes: 1 addition & 1 deletion .dumi/pages/index/components/Theme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const useStyle = createStyles(({ token, cx }) => {
`,

form: css`
width: 800px;
width: 100%;
margin: 0 auto;
`,
carousel,
Expand Down

1 comment on commit a72ea64

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.