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

List View: fix appender size #68221

Merged
merged 2 commits into from
Dec 23, 2024
Merged
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
15 changes: 10 additions & 5 deletions packages/block-editor/src/components/list-view/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,18 @@ svg {
}

.list-view-appender .block-editor-inserter__toggle {
background-color: #1e1e1e;
color: #fff;
margin: $grid-unit-10 0 0 24px;
height: 24px;
min-width: 24px;
background-color: $gray-900;
color: $white;
margin: $grid-unit-10 0 0 $grid-unit-30;
height: $button-size-small;
t-hamano marked this conversation as resolved.
Show resolved Hide resolved
padding: 0;

// TODO: Consider passing size="small" to the Inserter toggle instead.
// Special dimensions for this button.
&.has-icon.is-next-40px-default-size {
min-width: $button-size-small;
}

&:hover,
&:focus {
background: var(--wp-admin-theme-color);
Expand Down
Loading