From 64b0e29d2af3e159f6154e66da8d6a70f5da531d Mon Sep 17 00:00:00 2001 From: Brian Gardner Date: Fri, 13 Oct 2023 12:49:30 -0700 Subject: [PATCH] Move List styles to theme.json (fixes #5) --- style.css | 7 ------- theme.json | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/style.css b/style.css index 935e483..4990388 100644 --- a/style.css +++ b/style.css @@ -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 { diff --git a/theme.json b/theme.json index 98f736b..4b3f4b8 100644 --- a/theme.json +++ b/theme.json @@ -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)"