Skip to content

Commit 5d7d599

Browse files
committed
fix: pro notice button
1 parent 4c78665 commit 5d7d599

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/pro-control/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ const LABELS = {
118118
</ul>,
119119
},
120120
'font-pairs': {
121-
title: __( 'Customize Font Pairs', i18n ),
121+
title: __( 'Add Your Own Font Pairs', i18n ),
122122
description: <ul>
123123
<li>{ __( 'Add your own custom Font Pairs', i18n ) }</li>
124-
<li>{ __( 'Edit custom Font Pairs based on the selected preset', i18n ) }</li>
124+
<li>{ __( 'Manage your custom Font Pairs', i18n ) }</li>
125125
</ul>,
126126
},
127127
}

src/plugins/global-settings/typography/editor.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
padding: 0;
116116
width: calc(100% - 16px);
117117
margin: 0;
118+
margin-bottom: 24px;
118119
.ugb-global-settings-font-pair__selected {
119120
.components-base-control__field {
120121
border: 2px solid #000;

src/plugins/global-settings/typography/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FONT_PAIRS from './font-pairs.json'
1010
* External dependencies
1111
*/
1212
import {
13-
PanelAdvancedSettings, AdvancedSelectControl, ControlSeparator, FontPairPicker, ProControl,
13+
PanelAdvancedSettings, AdvancedSelectControl, ControlSeparator, FontPairPicker, ProControlButton,
1414
} from '~stackable/components'
1515
import { fetchSettings } from '~stackable/util'
1616
import {
@@ -341,7 +341,7 @@ addFilter( 'stackable.global-settings.inspector', 'stackable/global-typography',
341341
/>
342342
} ) }
343343
</div>
344-
{ showProNotice && <ProControl type="font-pairs" /> }
344+
{ showProNotice && <ProControlButton type="font-pairs" /> }
345345
<ControlSeparator />
346346

347347
<h3>{ __( 'Typography Settings' ) }</h3>

0 commit comments

Comments
 (0)