Skip to content

Commit 8613780

Browse files
authored
PaletteEdit: Fill available space with input field (WordPress#70935)
* PaletteEdit: Fill available space with input field * Update changelog
1 parent 166bc58 commit 8613780

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/components/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Bug Fixes
66

77
- `TextareaControl`: Add missing component CSS classname ([#70930](https://github.com/WordPress/gutenberg/pull/70930)).
8+
- `PaletteEdit`: Fill available space with input field ([#70935](https://github.com/WordPress/gutenberg/pull/70935)).
89

910
## 30.0.0 (2025-07-23)
1011

packages/components/src/palette-edit/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { useDebounce } from '@wordpress/compose';
2222
*/
2323
import Button from '../button';
2424
import { ColorPicker } from '../color-picker';
25-
import { FlexItem } from '../flex';
25+
import { FlexBlock, FlexItem } from '../flex';
2626
import { HStack } from '../h-stack';
2727
import { Item, ItemGroup } from '../item-group';
2828
import { VStack } from '../v-stack';
@@ -229,7 +229,7 @@ function Option< T extends PaletteElement >( {
229229
>
230230
<IndicatorStyled colorValue={ value } />
231231
</Button>
232-
<FlexItem>
232+
<FlexBlock>
233233
{ ! canOnlyChangeValues ? (
234234
<NameInput
235235
label={
@@ -256,7 +256,7 @@ function Option< T extends PaletteElement >( {
256256
'\u00A0' }
257257
</NameContainer>
258258
) }
259-
</FlexItem>
259+
</FlexBlock>
260260
{ ! canOnlyChangeValues && (
261261
<FlexItem>
262262
<RemoveButton

0 commit comments

Comments
 (0)