ucsc / ucsc-2022

Official WordPress theme for UC Santa Cruz
6 stars 0 forks source link

When block color is changed to have background color, text is indented #126

Closed CorinneOC closed 11 months ago

CorinneOC commented 2 years ago

On text in a block when I change the block color to background and select a color, the text gets indented. If I toggle the selected block color background the text is no longer indented.

When block color background color is selected (text is indented): Background text indented

Block color_background_color_selected indents text

If the text in a block has no block color set to background (no color is checked), the text is not indented (desired behavior). Text not indented when no background color selected

knice commented 2 years ago

This is a feature built into the WordPress editor. It prevents text in boxes from looking strange when the box has a background color. We can't alter this feature.

CorinneOC commented 2 years ago

Thanks Rob. For context if one wanted to have nested Campus Directory blocks (as in the way University Relations page appears in WCMS) the background color text for the sub group would be indented and the Campus Directory block would be outdented from the sub group text