[wp-trac] [WordPress Trac] #57463: Twenty Twenty Three has no base styles for <table>
WordPress Trac
noreply at wordpress.org
Mon Jan 16 19:07:58 UTC 2023
#57463: Twenty Twenty Three has no base styles for <table>
-----------------------------+------------------------------
Reporter: helgatheviking | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by sabernhardt):
Thanks for the report!
This could be a bigger issue than just the bundled themes. Twenty Twenty-
Two does not have basic `table` styles either. Other block themes such as
Jaxon and EduBlock do not have them, but Greenshift does.
To work around that and to avoid overriding theme styles, you could try
using the `:where()` selector.
{{{
:where(table) {
border-collapse: collapse;
width: 100%;
}
:where(th, td) {
border: 1px solid;
padding: 0.5em;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57463#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list