diff --git a/assets/scss/styles/08-koenig/_card.scss b/assets/scss/styles/08-koenig/_card.scss index 929eb53..ee24816 100644 --- a/assets/scss/styles/08-koenig/_card.scss +++ b/assets/scss/styles/08-koenig/_card.scss @@ -1,5 +1,7 @@ // Basic styling for all Ghost content blocks. // Ghost docs: https://ghost.org/docs/themes/content/#figure-and-figcaption +// +// 1. Get rid of the extra paragraph tag that is randomly inserted by Ghost to wrap the caption text. @use "../../tools/breakpoint"; @use "../../tools/content-block"; @@ -17,6 +19,10 @@ } } +.kg-card figcaption > p { + display: contents; // 1. +} + .kg-embed-card { display: flex; justify-content: center;