Skip to content

Commit

Permalink
Move List styles to theme.json (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Oct 13, 2023
1 parent 3ed080c commit 64b0e29
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 @@ -149,13 +149,6 @@ textarea {
/* Blocks
---------------------------------------- */

/* -- List -- */

.is-style-no-style {
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 @@ -376,6 +376,7 @@
}
},
"core/list": {
"css": "&.is-style-no-style {list-style-type: none; padding-left: 0;}",
"spacing": {
"padding": {
"left": "var(--wp--custom--spacing--gap)"
Expand Down

0 comments on commit 64b0e29

Please sign in to comment.