[wp-trac] [WordPress Trac] #60408: Twenty Nineteen: Theme block styles are not applied to blocks in the widget area
WordPress Trac
noreply at wordpress.org
Thu Jun 19 20:18:51 UTC 2025
#60408: Twenty Nineteen: Theme block styles are not applied to blocks in the widget
area
-------------------------------------------------+-------------------------
Reporter: poena | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Bundled Theme | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch changes-requested 2nd- | Focuses: css
opinion |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
> full unnecessary new file
PR 9019, still in draft status, contains two files: `_blocks.scss` and
`style.css`. Twenty Nineteen patches need to edit both the SCSS and the
compiled stylesheets. Front-end style changes should include a third file,
`style-rtl.css`. @shubhtoy You probably need to run `npm run build` a
[https://github.com/WordPress/wordpress-
develop/blob/7e848111e47dfb2fee9b146c10dc799b790e6c9d/src/wp-
content/themes/twentynineteen/contributing.txt#L17C43-L17C62 second time].
> not 100% convinced about that `root` solution
The `:root .site` selector has a specificity of `0-2-0`, same as `.entry
.entry-content`. While I would prefer to reduce the specificity if
possible, `:root .site` theoretically is safer, with less chance of
regressions in the content area.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60408#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list