From c35086c5104aedcaae1aba00892b0b4359a8e3cf Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Tue, 15 Feb 2022 14:50:25 -0500 Subject: [PATCH] visibility fix --- assets/base.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/base.scss b/assets/base.scss index 1ed1dffd4..b811b8ec3 100644 --- a/assets/base.scss +++ b/assets/base.scss @@ -81,10 +81,6 @@ p, tbody, li { line-height: 1.5em; } -h2, h3 { - opacity: 0.9; -} - blockquote { margin-left: 0em; border-left: 3px solid var(--secondary); @@ -468,7 +464,8 @@ header { z-index: 999; position: absolute; width: 15em; - display: inline; + display: inline-block; + visibility: hidden; background-color: var(--light); padding: 1em; border: 1px solid var(--outlinegray); @@ -482,6 +479,7 @@ header { &.visible { opacity: 1; + visibility: visible; transform: translate(-50%, 20%); }