Skip to content

Commit

Permalink
fix: fix mode switch button group wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ccloli committed Aug 6, 2024
1 parent b176bc4 commit d0c7262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/designer/src/toolbar/mode-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const ModeSwitchTool = observer(() => {
const designer = useDesigner();

return (
<Group attached>
<Group attached whiteSpace="nowrap">
<ToggleButton
shape="ghost"
selected={designer.activeView === 'design'}
Expand Down

0 comments on commit d0c7262

Please sign in to comment.