Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/editor/src/components/post-panel-row/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const PostPanelRow = forwardRef( ( { className, label, children }, ref ) => {
<HStack
className={ clsx( 'editor-post-panel__row', className ) }
ref={ ref }
align="flex-start"
>
{ label && (
<div className="editor-post-panel__row-label">{ label }</div>
Expand Down
6 changes: 2 additions & 4 deletions packages/editor/src/components/post-panel-row/style.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
.editor-post-panel__row {
width: 100%;
min-height: $grid-unit-40;
justify-content: flex-start !important;
align-items: flex-start !important;
}

.editor-post-panel__row-label {
width: 38%;
flex-shrink: 0;
min-height: $grid-unit-40;
display: flex;
align-items: center;
align-items: flex-start;
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the parent now has a new flex-start style, is it safe to remove this style?

padding: 6px 0; // Matches button to ensure alignment
line-height: $grid-unit-05 * 5;
hyphens: auto;
Expand All @@ -20,7 +18,7 @@
flex-grow: 1;
min-height: $grid-unit-40;
display: flex;
align-items: center;
align-items: flex-start;
Comment on lines -23 to +21
Copy link
Contributor

Choose a reason for hiding this comment

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


.components-button {
max-width: 100%;
Expand Down
Loading