Suggestion: Fix hardcoded margin and padding for Spectra Tabs block
-
The padding for content inside tabs cannot be set from Spectra’s block settings. The content is put in a uagb-tabs__body-container div which is put within a uagb-tabs__body-wrap div. Spectra’s block settings for margin and padding affects the outer uagb-tabs__body-wrap div while the inner uagb-tabs__body-container div has a hardcoded padding (10px 15px). Spectra’s body setting’s padding is therefor just additional padding on top of the existing 10px 15px, which means the padding cannot be less than 10px 15px.
The whole tabs block (wp-block-uagb-tabs) also has a hardcoded 15px margin with no setting to adjust neither margin nor padding.
Please consider addressing the body padding bug and adding a setting for changing the block’s margin and padding, like many of your other blocks have.
- The topic ‘Suggestion: Fix hardcoded margin and padding for Spectra Tabs block’ is closed to new replies.