Skip to content

Commit

Permalink
Apply 40px across summary panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Feb 9, 2024
1 parent 45a49c9 commit 9c425aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/editor/src/components/post-panel-row/style.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.editor-post-panel__row {
width: 100%;
min-height: $button-size;
min-height: $button-size-next-default-40px;
justify-content: flex-start !important;
align-items: flex-start !important;
}

.editor-post-panel__row-label {
width: 30%;
flex-shrink: 0;
min-height: $button-size;
min-height: $button-size-next-default-40px;
display: flex;
align-items: center;
}

.editor-post-panel__row-control {
flex-grow: 1;
min-height: $button-size;
min-height: $button-size-next-default-40px;
display: flex;
align-items: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function PostSwitchToDraftButton() {
return (
<>
<Button
__next40pxDefaultSize
className="editor-post-switch-to-draft"
onClick={ () => {
if ( ! isDisabled ) {
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/post-trash/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function PostTrash() {
return (
<>
<Button
__next40pxDefaultSize
className="editor-post-trash"
isDestructive
variant="secondary"
Expand Down

0 comments on commit 9c425aa

Please sign in to comment.