From f6666f0bf8ff2e2752c5187fbf80c6b4d535adfd Mon Sep 17 00:00:00 2001 From: Eliahu Horwitz Date: Thu, 4 Sep 2025 21:54:18 +0300 Subject: [PATCH] Fixed the More Works popup on mobile view --- static/css/index.css | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/static/css/index.css b/static/css/index.css index c29bc73..2ae0611 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -663,19 +663,18 @@ code { } .more-works-container { - position: relative; - top: auto; - right: auto; - margin: 1rem auto; - display: block; - width: fit-content; + position: fixed; + top: 1rem; + right: 1rem; + z-index: 1000; } .more-works-dropdown { - position: relative; - top: 0.5rem; + position: absolute; + top: calc(100% + 0.5rem); right: 0; - width: 100%; + width: calc(100vw - 2rem); + max-width: 90vw; } .link-block {