From da95222e8e8ad3d8d720e93ff323ce005758458b Mon Sep 17 00:00:00 2001 From: schnulller Date: Fri, 20 May 2022 12:13:47 +0200 Subject: [PATCH] Some minor css changes to vertical align the comment button --- HaWeb/wwwroot/css/output.css | 5 ++++- HaWeb/wwwroot/css/site.css | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HaWeb/wwwroot/css/output.css b/HaWeb/wwwroot/css/output.css index 660818b..bfe69a1 100644 --- a/HaWeb/wwwroot/css/output.css +++ b/HaWeb/wwwroot/css/output.css @@ -1000,6 +1000,9 @@ body { display: block; width: 20rem; border-left-width: 2px; + border-top-width: 3px; + --tw-border-opacity: 1; + border-top-color: rgb(248 250 252 / var(--tw-border-opacity)); --tw-bg-opacity: 1; background-color: rgb(248 250 252 / var(--tw-bg-opacity)); text-indent: 0px; @@ -1225,7 +1228,7 @@ body { .ha-register .ha-btn-collapsed-box { position: absolute; - top: -0.25rem; + top: -0.15rem; display: none; cursor: pointer; --tw-text-opacity: 1; diff --git a/HaWeb/wwwroot/css/site.css b/HaWeb/wwwroot/css/site.css index 55fc2a5..3b52175 100644 --- a/HaWeb/wwwroot/css/site.css +++ b/HaWeb/wwwroot/css/site.css @@ -290,7 +290,7 @@ .ha-register .ha-neuzeit .ha-register-body .ha-commenthead .ha-letlinks, .ha-register .ha-forschung .ha-register-body .ha-commenthead .ha-letlinks { - @apply desktop:indent-0 desktop:top-0 desktop:w-80 desktop:block desktop:bg-slate-50 desktop:absolute desktop:border-l-2 pl-2 + @apply desktop:indent-0 desktop:top-0 desktop:w-80 desktop:block desktop:bg-slate-50 desktop:absolute desktop:border-l-2 desktop:border-t-[3px] desktop:border-t-slate-50 pl-2 } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks a { @@ -398,7 +398,7 @@ } .ha-register .ha-btn-collapsed-box { - @apply hidden desktop:block absolute -top-1 text-gray-600 hover:text-gray-900 cursor-pointer + @apply hidden desktop:block absolute -top-[0.15rem] text-gray-600 hover:text-gray-900 cursor-pointer } .ha-register .ha-neuzeit .ha-register-body .ha-commenthead .ha-collapsed-box,