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

Summary panel: Try improving spacing and grid. #46267

Merged
merged 1 commit into from
Dec 2, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
display: block;
width: 45%;
flex-shrink: 0;
// Match padding on tertiary buttons for alignment.
padding: $grid-unit-15 * 0.5 0;
}
}

.components-button.edit-post-post-schedule__toggle {
text-align: left;
white-space: normal;
height: auto;

// This span is added by the Popover in Tooltip when no anchor is
// provided. We set its width to 0 so that it does not cause the button text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function PostStatus( { isOpened, onTogglePanel } ) {
<>
<PostVisibility />
<PostSchedule />
<PostURL />
<PostTemplate />
<PostURL />
<PostSticky />
<PostPendingStatus />
<PostFormat />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
span {
display: block;
width: 45%;
// Match padding on tertiary buttons for alignment.
padding: $grid-unit-15 * 0.5 0;
}
}

Expand Down
3 changes: 3 additions & 0 deletions packages/edit-post/src/components/sidebar/post-url/style.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.edit-post-post-url {
width: 100%;
justify-content: flex-start;
align-items: flex-start;

span {
display: block;
width: 45%;
flex-shrink: 0;
// Match padding on tertiary buttons for alignment.
padding: $grid-unit-15 * 0.5 0;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
span {
display: block;
width: 45%;
// Match padding on tertiary buttons for alignment.
padding: $grid-unit-15 * 0.5 0;
}
}

Expand Down