From 4b2639d669860460c56b0148cc3de3b96ca43a1f Mon Sep 17 00:00:00 2001 From: Sped0n Date: Tue, 31 Oct 2023 00:02:28 +0800 Subject: [PATCH] style(article.scss): add margin-top to .info class to create space below the navigation bar style(article.scss): remove media query for positioning .info class on tablets and devices without hover support --- assets/scss/_partial/_article.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/assets/scss/_partial/_article.scss b/assets/scss/_partial/_article.scss index 6bd90f3..57f9266 100644 --- a/assets/scss/_partial/_article.scss +++ b/assets/scss/_partial/_article.scss @@ -1,4 +1,5 @@ .info { + margin-top: var(--nav-height); padding: var(--space-standard); max-width: 25em; @@ -40,10 +41,3 @@ margin: 1.2rem 0; } } - -@media (max-width: $tablet), (hover: none) { - .info { - top: var(--nav-height); - position: fixed; - } -}