« get me outta code hell

css: fix sticky subheading text alignment - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-05 17:45:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-07 13:35:48 -0300
commitb67f0b104ae0a2f15bdc63c795a2d1150c4f1fe8 (patch)
treee4dc74730a3ba7f6cc87203438d69c5f7fa5a18a
parentb57fe0ebd440dcec7b259c9b7358a0800b3d4171 (diff)
css: fix sticky subheading text alignment
-rw-r--r--src/static/site6.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/static/site6.css b/src/static/site6.css
index a0410243..a2f62898 100644
--- a/src/static/site6.css
+++ b/src/static/site6.css
@@ -1979,7 +1979,7 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r
   position: absolute;
   width: 100%;
   box-sizing: border-box;
-  padding: 10px 40px 5px 20px;
+  padding: 10px 20px 5px 20px;
   margin-top: 0;
   z-index: -1;
 
@@ -2009,6 +2009,10 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r
   opacity: 0;
 }
 
+.content-sticky-subheading {
+  padding-right: 20px;
+}
+
 .content-sticky-heading-container h2.visible {
   margin-top: 0;
   opacity: 1;