Skip to content

Commit

Permalink
Move List styles to theme.json (fixes #157)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Oct 17, 2023
1 parent 8199211 commit c2e3545
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,6 @@ textarea {
padding: 5px 8px;
}

/* -- List -- */

.is-style-no-disc {
list-style-type: none;
padding-left: 0;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
Expand Down
1 change: 1 addition & 0 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@
}
},
"core/list": {
"css": "&.is-style-no-disc {list-style-type: none; padding-left: 0;}",
"spacing": {
"padding": {
"left": "var(--wp--custom--spacing--gap)"
Expand Down

0 comments on commit c2e3545

Please sign in to comment.