Skip to content

Commit

Permalink
Placeholder: Tweak placeholder style
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed May 12, 2024
1 parent f73d44e commit 4a6cb20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
18 changes: 2 additions & 16 deletions packages/block-library/src/rss/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,6 @@
display: inline;
}

.wp-block-rss__placeholder-form {
> * {
margin-bottom: $grid-unit-10;
}

@include break-medium() {
> * {
margin-bottom: 0;
}
}

.wp-block-rss__placeholder-input {
margin: 0 8px 0 0;
flex: 1 1 auto;
}
.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input {
flex: 1 1 auto;
}

1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- `PaletteEdit`: Use consistent spacing and metrics. ([#61368](https://github.com/WordPress/gutenberg/pull/61368)).
- `FormTokenField`: Hide label when not defined ([#61336](https://github.com/WordPress/gutenberg/pull/61336)).
- Upgraded the @types/react and @types/react-dom packages ([#60796](https://github.com/WordPress/gutenberg/pull/60796)).
- `Placeholder`: Tweak placeholder style ([#61590](https://github.com/WordPress/gutenberg/pull/61590)).

### Bug Fix

Expand Down
3 changes: 1 addition & 2 deletions packages/components/src/placeholder/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
flex-direction: row;
width: 100%;
flex-wrap: wrap;
gap: $grid-unit-15;
gap: $grid-unit-20;
justify-content: flex-start;

p {
Expand All @@ -83,7 +83,6 @@

.components-placeholder__input[type="url"] {
@include input-control;
margin: 0 8px 0 0;
flex: 1 1 auto;
}

Expand Down

0 comments on commit 4a6cb20

Please sign in to comment.