Skip to content

Commit 1f06de3

Browse files
committed
chore: improve upsell
1 parent 5ca253c commit 1f06de3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

css/settings.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,6 +2365,10 @@ li.draggable-item .components-panel__body-toggle.components-button{
23652365
padding: 24px 0;
23662366
}
23672367

2368+
.fz-condition-control.is-upsell {
2369+
opacity: 0.6;
2370+
}
2371+
23682372
.fz-condition-control .components-button {
23692373
width: 100%;
23702374
margin: 0;

js/Conditions/ConditionsControl.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* External dependencies.
3+
*/
4+
import classNames from 'classnames';
5+
16
/**
27
* WordPress dependencies.
38
*/
@@ -124,7 +129,7 @@ const ConditionsControl = ({
124129
};
125130

126131
return (
127-
<div className="fz-condition-control">
132+
<div className={ classNames('fz-condition-control', { 'is-upsell': ! window.feedzyData.isPro }) }>
128133
<SelectControl
129134
label={ __( 'Include If', 'feedzy-rss-feeds' ) }
130135
value={ conditions.match }

0 commit comments

Comments
 (0)