move style panel to right-hand size

This commit is contained in:
Steve Ruiz 2022-05-20 15:10:54 +01:00
parent c37a4a33d6
commit 9d8c4888f3

View file

@ -44,7 +44,6 @@ export function TopPanel({
<StyledSpacer />
{(showStyles || showZoom) && (
<Panel side="right">
{showStyles && !readOnly && <StyleMenu />}
<ToolButton>
<UndoIcon onClick={app.undo} />
</ToolButton>
@ -52,6 +51,7 @@ export function TopPanel({
<RedoIcon onClick={app.redo} />
</ToolButton>
{showZoom && <ZoomMenu />}
{showStyles && !readOnly && <StyleMenu />}
</Panel>
)}
</StyledTopPanel>