♻️ Add prefix to CSS state-classes

This commit is contained in:
Philipp Stracker 2025-01-22 15:08:14 +01:00
parent 193e046a9a
commit 54504b7591
No known key found for this signature in database
15 changed files with 32 additions and 33 deletions

View file

@ -2,7 +2,7 @@ import classNames from 'classnames';
const SettingsBlock = ( { className, children, separatorAndGap = true } ) => {
const blockClassName = classNames( 'ppcp-r-settings-block', className, {
'no-gap': ! separatorAndGap,
'ppcp--no-gap': ! separatorAndGap,
} );
return <div className={ blockClassName }>{ children }</div>;