Since we are going to add more and more widgets inside this zone, I suggest that we reduce the depth of applicability of typography styles inside from-content-api.
We should thrive to target direct children elements only:
But by doing this we don't apply typography styles to widgets that rely on those, for example live blogs. Meaning we will have to apply the from-content-api class everywhere it is needed.
At the moment, rules contained in
from-content-api
are applied to all children, preventing the easy application of new styles in subsequent widgets.For example, inserting a card:
Requires a lot of overriding on our part to style the card widget:
Notice the crazy number of important rules.
Since we are going to add more and more widgets inside this zone, I suggest that we reduce the depth of applicability of typography styles inside
from-content-api
.We should thrive to target direct children elements only:
But by doing this we don't apply typography styles to widgets that rely on those, for example live blogs. Meaning we will have to apply the
from-content-api
class everywhere it is needed.