downshiftorg / prophoto7-issues

A current roadmap and bug tracking for ProPhoto 7
1 stars 0 forks source link

Unordered list elements don't receive font style overrides #789

Open postmastersteve opened 4 years ago

postmastersteve commented 4 years ago

These CSS selectors are being used by ProPhoto to apply the styling to ol and ul lists in the WordPress content:

ol, ul:not(.comments-body-inner):not(.children),

Then these are the selectors being generated for the override styling in my case:

._ce8db2fb-bc81-4947-ba62-e35e78230f16 .article-content ol, ._ce8db2fb-bc81-4947-ba62-e35e78230f16 .article-content ul, .font-63add509-562d-4782-88c2-1caf0b2f51f7

The specificity of .article-content ul​ isn't strong enough to override the default for unordered lists because of how the default font styling has :not()​ selectors tacked on.

This is also affecting text modules as seen here: https://www.loom.com/share/7c06251b3f6e47d99db4215a8ade58ff

postmastersteve commented 4 years ago

+1 Matt Hudson ticket 200727

danjonlam commented 4 years ago

+1 Tracie Michaud ticket 205219