Skip to content

fix(icon-picker): border the pack filter, size by label - #293

Merged
nk-o merged 1 commit into
masterfrom
pack-filter-bordered
Oct 24, 2026
Merged

nk-o merged 1 commit into
masterfrom
pack-filter-bordered

Conversation

@nk-o

@nk-o nk-o commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

#292 dropped isBlock from the icon pack filter so its options could size to their labels. That also removed the group's border, which the other toggle groups in the editor keep. The filter has its border back. With isBlock alone, isAdaptiveWidth leaves the options at their label width and an empty strip at the end of the row. Each option now grows from its label width (flex: 1 1 auto), so the row is full and All stays the narrowest.

On WordPress 7.2-beta1 the 288px row splits into All 59px, Ghost Kit 99px and FontAwesome 128px.

Before After
Pack filter without a border Bordered pack filter, options sized by label

@nk-o
nk-o merged commit 7a8c60f into master Oct 24, 2026
7 checks passed
@nk-o
nk-o deleted the pack-filter-bordered branch October 24, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant