fix: h2 style applied incorrectly

This commit is contained in:
Devin Haska 2024-03-03 00:36:23 -08:00
parent 8e54b46b6b
commit d84b3be13f
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ imageCaption: ""
{% from "macros/utils.njk" import stars %} {% from "macros/utils.njk" import stars %}
<article class="[ catalogue ] [ flow ]"> <article class="[ catalogue ] [ flow ]">
<header class="[ flow flow-space-1 ]"> <header class="[ catalogue-header ] [ flow flow-space-1 ]">
{{ format(page.date) }} {{ format(page.date) }}
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
{% if subtitle %}<h2>{{ subtitle }}</h2>{% endif %} {% if subtitle %}<h2>{{ subtitle }}</h2>{% endif %}

View file

@ -4,7 +4,7 @@
gap: var(--spacing-1); gap: var(--spacing-1);
} }
.catalogue h2 { .catalogue-header h2 {
--flow-space: var(--spacing-0\.5); --flow-space: var(--spacing-0\.5);
transform: var(--text-skew); transform: var(--text-skew);
color: var(--color-fadeText); color: var(--color-fadeText);