Skip to content

Commit

Permalink
Reorder like the block inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 7, 2023
1 parent 5c20803 commit 17bf817
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/edit-site/src/components/global-styles/screen-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ function ScreenBlock( { name, variation } ) {
<>
<ScreenHeader title={ blockType.title } />
<BlockPreviewPanel name={ name } variation={ variation } />
{ hasTypographyPanel && (
<StylesTypographyPanel
inheritedValue={ inheritedStyle }
value={ style }
onChange={ setStyle }
settings={ settings }
/>
) }
{ hasColorPanel && (
<StylesColorPanel
inheritedValue={ inheritedStyle }
Expand All @@ -100,8 +92,8 @@ function ScreenBlock( { name, variation } ) {
settings={ settings }
/>
) }
{ hasBorderPanel && (
<StylesBorderPanel
{ hasTypographyPanel && (
<StylesTypographyPanel
inheritedValue={ inheritedStyle }
value={ style }
onChange={ setStyle }
Expand All @@ -117,6 +109,14 @@ function ScreenBlock( { name, variation } ) {
includeLayoutControls
/>
) }
{ hasBorderPanel && (
<StylesBorderPanel
inheritedValue={ inheritedStyle }
value={ style }
onChange={ setStyle }
settings={ settings }
/>
) }
{ hasEffectsPanel && (
<StylesEffectsPanel
inheritedValue={ inheritedStyleWithLayout }
Expand Down

0 comments on commit 17bf817

Please sign in to comment.