Skip to content
Merged
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
7 changes: 5 additions & 2 deletions packages/editor/src/components/post-panel-row/style.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
.editor-post-panel__row {
width: 100%;
justify-content: flex-start;
align-items: flex-start;
min-height: $button-size;
justify-content: flex-start !important;
align-items: flex-start !important;
Comment on lines +4 to +5

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe explain why this needs to be conditional now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good remark, the conditional style is actually not needed now.

}

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

.editor-post-panel__row-control {
Expand Down
10 changes: 7 additions & 3 deletions packages/editor/src/components/post-schedule/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@
}
}

.editor-post-schedule__dialog-toggle {
.editor-post-schedule__dialog-toggle.components-button {
display: block;
max-width: 100%;
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
white-space: unset;
height: auto;

// The line height + the padding should be the same as the button size.
padding: ( ( $button-size - $grid-unit-20 ) / 2 ) 12px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like this introduced a deprecation warning when building Gutenberg. Tiny follow-up PR over in #56412 🙂

line-height: $grid-unit-20;
}