Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks: update warning style #7866

Merged
merged 7 commits into from
Jul 24, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Block warning: restyle and move buttons inline with message
The overall style is adjusted so it’s left aligned, and the buttons and ellipsis are right aligned (flowing to the line below if not enough space)
  • Loading branch information
johngodley committed Jul 18, 2018
commit c7ee23b5f84792abeede89ec969551c3828466eb
5 changes: 4 additions & 1 deletion editor/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,12 @@
*/

.editor-block-list__layout .editor-block-list__block {
&.has-warning {
min-height: $block-padding + $block-spacing;
}

// Warnings
&.has-warning .editor-block-list__block-edit {
&.has-warning .editor-block-list__block-edit {
min-height: 250px;

> :not( .editor-warning ) {
Expand Down