[wp-meta] [Making WordPress.org] #6424: Possible css conflicts in pattern preview of themes directory
Making WordPress.org
noreply at wordpress.org
Thu Aug 25 00:40:45 UTC 2022
#6424: Possible css conflicts in pattern preview of themes directory
-----------------------------+---------------------
Reporter: wetah | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Theme Directory | Resolution:
Keywords: |
-----------------------------+---------------------
Comment (by dufresnesteven):
> I would go by the second one because in the end, theme previews should
look like what most end users will have.
I don't know that this is necessarily the case although I currently have
no stats to substantiate this either way.
> Sadly, the `!important` is not a good alternative for me because my
`border-radius` is coming from a `theme.json` setting instead of a `.css`
file.
I'm pretty sure that you can add `!important` to property values in your
`theme.json`. Give it a try!
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6424#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list