fix: layout consistency

This commit is contained in:
Cory Dransfeldt 2023-12-31 13:37:43 -08:00
parent 39a55b7487
commit 9950cf2146
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,6 @@
--- ---
layout: main layout: default
--- ---
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
{{ content }} {{ content }}
{% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %} {% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
{% render "partials/now/media-grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8 %} {% render "partials/now/media-grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8 %}

View file

@ -252,7 +252,7 @@ article {
.now__topper h2 { .now__topper h2 {
font-size: var(--font-size-xl); font-size: var(--font-size-xl);
line-height: var(--line-height-xl); line-height: 0;
margin-top: 0; margin-top: 0;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -709,6 +709,10 @@ article .now__section--header {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.now__section--header:first-of-type {
margin-top: 0;
}
.now__explainer { .now__explainer {
font-size: var(--font-size-xs); font-size: var(--font-size-xs);
line-height: var(--line-height-xs); line-height: var(--line-height-xs);
@ -1073,7 +1077,6 @@ textarea {
.now__topper h2 { .now__topper h2 {
font-size: var(--font-size-2xl); font-size: var(--font-size-2xl);
line-height: var(--line-height-2xl);
} }
.avatar__wrapper .avatar__wrapper--interior { .avatar__wrapper .avatar__wrapper--interior {