diff --git a/src/components/cards/widget-blocks.stories.jsx b/src/components/cards/widget-blocks.stories.jsx index eb725357..37afe5ed 100644 --- a/src/components/cards/widget-blocks.stories.jsx +++ b/src/components/cards/widget-blocks.stories.jsx @@ -280,7 +280,7 @@ const Template1 = () => { useSwitch={ option.useSwitch } className="px-2" badgeItem={ option.bagde } - buttonWrapperClasses="bg-background-primary" + buttonWrapperClasses="bg-background-primary border-0" /> ) ) } diff --git a/src/components/radio-button/radio-button.jsx b/src/components/radio-button/radio-button.jsx index 6b426df9..9317b1af 100644 --- a/src/components/radio-button/radio-button.jsx +++ b/src/components/radio-button/radio-button.jsx @@ -222,10 +222,11 @@ const RadioButtonComponent = ( className={ cn( ! inlineIcon && 'space-y-1.5 mt-[2px]', reversePosition && ( useSwitch ? 'ml-10' : 'ml-4' ), - inlineIcon && 'flex gap-2' + inlineIcon && 'flex gap-2', + inlineIcon && ! label.description && 'items-center' ) } > - { icon && { icon } } + { icon && <>{ icon } }

{ className="px-2" badgeItem={ option.badge } disabled={ option.disabled } - buttonWrapperClasses="bg-background-primary rounded-md shadow-sm" + buttonWrapperClasses="bg-background-primary rounded-md shadow-sm border-0" /> ) ) } diff --git a/src/templates/dashboard-spectra/dashboard-spectra.stories.js b/src/templates/dashboard-spectra/dashboard-spectra.stories.js index 7efd9fa5..4a442862 100644 --- a/src/templates/dashboard-spectra/dashboard-spectra.stories.js +++ b/src/templates/dashboard-spectra/dashboard-spectra.stories.js @@ -550,7 +550,7 @@ export const SpectraDashboard = () => { useSwitch={ option.useSwitch } className="px-2" badgeItem={ option.bagde } - buttonWrapperClasses="bg-background-primary" + buttonWrapperClasses="bg-background-primary border-0" /> ) ) } diff --git a/src/templates/onboarding-backup/onboarding-backup.stories.js b/src/templates/onboarding-backup/onboarding-backup.stories.js index 4c7b38bb..f58d24e5 100644 --- a/src/templates/onboarding-backup/onboarding-backup.stories.js +++ b/src/templates/onboarding-backup/onboarding-backup.stories.js @@ -96,7 +96,7 @@ const Template = ( args ) => { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" />

diff --git a/src/templates/onboarding-import/onboarding-import.stories.js b/src/templates/onboarding-import/onboarding-import.stories.js index 86a6ee87..139770c3 100644 --- a/src/templates/onboarding-import/onboarding-import.stories.js +++ b/src/templates/onboarding-import/onboarding-import.stories.js @@ -66,6 +66,7 @@ const Template = ( args ) => { heading: `SEOPress`, } } borderOn={ true } + buttonWrapperClasses={ 'border-0' } /> { heading: `AIO SEO`, } } borderOn={ true } + buttonWrapperClasses={ 'border-0' } /> { heading: `Yoast SEO`, } } borderOn={ true } + buttonWrapperClasses={ 'border-0' } /> diff --git a/src/templates/onboarding-setup-tools/onboarding-setup-tools.stories.js b/src/templates/onboarding-setup-tools/onboarding-setup-tools.stories.js index 594d0392..1fb282ef 100644 --- a/src/templates/onboarding-setup-tools/onboarding-setup-tools.stories.js +++ b/src/templates/onboarding-setup-tools/onboarding-setup-tools.stories.js @@ -97,7 +97,7 @@ const Template = ( args ) => { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" /> { borderOn icon={ } onChange={ () => {} } - buttonWrapperClasses="bg-white" + buttonWrapperClasses="bg-white border-0" />