Opened 4 years ago
Closed 4 years ago
#52412 closed defect (bug) (fixed)
Twenty Twenty-One: list bullets have different styles in the editor and front
Reported by: | poena | Owned by: | peterwilsoncc |
---|---|---|---|
Milestone: | 5.7 | Priority: | lowest |
Severity: | trivial | Version: | 5.6 |
Component: | Bundled Theme | Keywords: | good-first-bug has-patch commit |
Focuses: | css | Cc: |
Description
In the block editor, lists have the disc bullet, while nested list items have circles:
.editor-styles-wrapper ul { list-style-type: disc; } .editor-styles-wrapper ol ul, .editor-styles-wrapper ul ul { list-style-type: circle; }
On the front, the theme uses the disc for both, it has no bullet style for the nested lists, so
the editor and front does not match.
Attachments (3)
Change History (8)
#3
@
4 years ago
- Keywords needs-refresh added
Hi and thank you for the patches @mahfuz01 and @tejwanihemant.
Twenty Twenty-One uses sass, changes need to be made in the .scss file, like in patch 52412.diff.
Please consider refreshing the patch to update the .scss file and cover both ol and ul.
Note: See
TracTickets for help on using
tickets.
If you're doing a first-time contribution then check these links in order to create a valid patch in Trac.
https://make.wordpress.org/core/handbook/tutorials/working-with-patches/ https://make.wordpress.org/core/handbook/best-practices/writing-patches/
If you're familiar with code and git, you can use the wordpress-develop Github repository to easily contribute to WordPress: https://make.wordpress.org/core/handbook/contribute/git/