Skip to content

Commit

Permalink
Tweak: Sidebar categories panel (#59495)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
3 people authored Mar 1, 2024
1 parent 2e074d9 commit 8c77df8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export function HierarchicalTermSelector( { slug } ) {
<form onSubmit={ onAddTerm }>
<Flex direction="column" gap="4">
<TextControl
__next40pxDefaultSize
__nextHasNoMarginBottom
className="editor-post-taxonomies__hierarchical-terms-input"
label={ newTermLabel }
Expand All @@ -448,6 +449,7 @@ export function HierarchicalTermSelector( { slug } ) {
/>
{ !! availableTerms.length && (
<TreeSelect
__next40pxDefaultSize
__nextHasNoMarginBottom
label={ parentSelectLabel }
noOptionLabel={ noParentOption }
Expand All @@ -458,6 +460,7 @@ export function HierarchicalTermSelector( { slug } ) {
) }
<FlexItem>
<Button
__next40pxDefaultSize
variant="secondary"
type="submit"
className="editor-post-taxonomies__hierarchical-terms-submit"
Expand Down

0 comments on commit 8c77df8

Please sign in to comment.