From dca7e8045cba9a2f030b6cfd42e466c4b3635c13 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 21 May 2024 10:41:58 +0800 Subject: [PATCH] Remove heading wrapper top margin if it is the first element in the container --- src/assets/css/plugins.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assets/css/plugins.css b/src/assets/css/plugins.css index 22a87ec1..b07c7554 100644 --- a/src/assets/css/plugins.css +++ b/src/assets/css/plugins.css @@ -2,13 +2,14 @@ .heading-wrapper { display: flex; gap: 0.3em; - margin-top: 1.8em; align-items: baseline; } +* + .heading-wrapper { + margin-top: 1.8em; +} + .heading-anchor { - line-height: 1; - opacity: 0.8; order: -1; text-decoration: none; } @@ -16,7 +17,6 @@ .heading-anchor:hover { text-decoration: underline; text-underline-offset: 0.1em; - opacity: 1; } .heading-anchor:focus {