Skip to content

Commit

Permalink
update gutenberg components to use next attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-o committed Nov 27, 2024
1 parent 787392b commit c358a4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/gutenberg/page-options/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ function PageOptions() {
onChange={(val) => {
setMeta({ nav_title: val });
}}
__next40pxDefaultSize
__nextHasNoMarginBottom
/>
</PanelRow>
<PanelRow className="docspress-helpfullnes-metabox">
<BaseControl label={__('Helpfulness', '@@text_domain')}>
<BaseControl label={__('Helpfulness', '@@text_domain')} __nextHasNoMarginBottom>
<div className="docspress-helpfullnes-metabox-inner">
<TextControl
type="number"
Expand All @@ -52,6 +54,8 @@ function PageOptions() {
setMeta({ positive: val });
}}
min={0}
__next40pxDefaultSize
__nextHasNoMarginBottom
/>
<TextControl
type="number"
Expand All @@ -61,6 +65,8 @@ function PageOptions() {
setMeta({ negative: val });
}}
min={0}
__next40pxDefaultSize
__nextHasNoMarginBottom
/>
</div>
</BaseControl>
Expand Down

0 comments on commit c358a4d

Please sign in to comment.