From a73ec551f8b21ccaf15b16e399d1c2a75f1c8778 Mon Sep 17 00:00:00 2001 From: madhusudhand Date: Thu, 8 Sep 2022 11:28:08 +0530 Subject: [PATCH] add block gap to fix post content margin --- pixel/style.css | 8 ++++++-- pixel/theme.json | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pixel/style.css b/pixel/style.css index 248c46aefa..5d009f5644 100644 --- a/pixel/style.css +++ b/pixel/style.css @@ -66,8 +66,12 @@ a:where(:not(.wp-element-button)) { text-decoration: none; } -.taxonomy-category > a:hover { - text-decoration: underline; +.taxonomy-category > :is(a:hover, a:focus) { + text-decoration: underline dotted; +} + +.taxonomy-category > a:active { + text-decoration: underline solid; } .wp-block-pullquote cite { diff --git a/pixel/theme.json b/pixel/theme.json index afc6fd4236..4f4a6d8375 100644 --- a/pixel/theme.json +++ b/pixel/theme.json @@ -293,6 +293,9 @@ } }, "core/post-content": { + "spacing": { + "blockGap": "var(--wp--custom--gap--vertical)" + }, "elements": { "link": { ":active": { @@ -554,7 +557,7 @@ } }, "spacing": { - "blockGap": "30px", + "blockGap": "var(--wp--custom--gap--vertical)", "padding": { "bottom": "var(--wp--custom--spacing--outer)", "left": "var(--wp--custom--spacing--outer)",