« get me outta code hell

css: make quick-info use responsive padding - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-13 17:18:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-13 17:19:59 -0300
commit4eb74627802c84b60c14bba49d0a5bfbb516397a (patch)
treeddc9ed996f3ffeb2808ab26e8203cd9d371f91a4 /src/static/css
parent578c3b6a22d74eb1c503e23099b5f383ef0c676a (diff)
css: make quick-info use responsive padding
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index ac5b5afe..de28ad58 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -1242,8 +1242,8 @@ html[data-url-key="localized.home"] #content h1 {
 
 .quick-info {
   text-align: center;
-  padding-left: 12%;
-  padding-right: 12%;
+  padding-left: calc(var(--responsive-padding-ratio) * 100%);
+  padding-right: calc(var(--responsive-padding-ratio) * 100%);
   line-height: 1.25em;
 }