diff --git a/tildes/scss/modules/_heading.scss b/tildes/scss/modules/_heading.scss index 1839a60..db2599e 100644 --- a/tildes/scss/modules/_heading.scss +++ b/tildes/scss/modules/_heading.scss @@ -4,3 +4,13 @@ .heading-main { font-weight: bold; } + +.heading-post-listing { + font-size: 0.6rem; +} + +.heading-notification { + font-size: 0.8rem; + line-height: 0.8rem; + margin-bottom: 0; +} diff --git a/tildes/scss/modules/_post.scss b/tildes/scss/modules/_post.scss index b6515a7..1562abb 100644 --- a/tildes/scss/modules/_post.scss +++ b/tildes/scss/modules/_post.scss @@ -2,10 +2,6 @@ // SPDX-License-Identifier: AGPL-3.0-or-later .post-listing { - h2 { - font-size: 0.6rem; - } - & > li { margin-bottom: 1rem; } @@ -16,14 +12,8 @@ } .post-listing-notifications { - h2 { - font-size: 0.8rem; - line-height: 0.8rem; - margin-bottom: 0; - } - - h2 + article { - margin-top: 0.4rem; + .comment { + margin-bottom: 0.4rem; } .btn-link-minimal { diff --git a/tildes/tildes/templates/notifications_unread.jinja2 b/tildes/tildes/templates/notifications_unread.jinja2 index a10db3d..4c1dd33 100644 --- a/tildes/tildes/templates/notifications_unread.jinja2 +++ b/tildes/tildes/templates/notifications_unread.jinja2 @@ -29,11 +29,11 @@ {% for notification in notifications: %}