Skip to content

Commit

Permalink
Set padding explicitly for all the sides to prevent overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
enricobattocchi committed Nov 10, 2023
1 parent d60eafc commit fb555fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/js/src/components/MetaboxButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const MetaboxButton = ( { className, ...props } ) => (
<button
type="button"
className={ classNames(
"yst-flex yst-items-center yst-w-full yst-pl-6 yst-p-4 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",
"yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",
className
) }
{ ...props }
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/components/WincherSEOPerformanceModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function WincherSEOPerformanceModal( props ) {
id={ `wincher-open-button-${location}` }
onClick={ onModalOpen }
>
<MetaboxButton.Text className="yst-ml-2">{ title }</MetaboxButton.Text>
<MetaboxButton.Text>{ title }</MetaboxButton.Text>
<ChartBarIcon className="yst-h-5 yst-w-5 yst-text-slate-500" { ...svgAriaProps } />
</MetaboxButton>
</div>
Expand Down

0 comments on commit fb555fe

Please sign in to comment.