From 8c6384175c8343c0cdc14b4fbefd53127f3f1866 Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 11 Oct 2024 08:35:53 -0700 Subject: Fix dropdown shift on web (#5710) --- bskyweb/templates/base.html | 4 ++++ web/index.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 9a50fae69..59cf39d02 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -75,6 +75,10 @@ top: 50%; transform: translateX(-50%) translateY(-50%) translateY(-50px); } + /* We need this style to prevent web dropdowns from shifting the display when opening */ + body { + width: 100%; + } {% include "scripts.html" %} diff --git a/web/index.html b/web/index.html index 2a406429c..7b29597bb 100644 --- a/web/index.html +++ b/web/index.html @@ -80,6 +80,10 @@ top: 50%; transform: translateX(-50%) translateY(-50%) translateY(-50px); } + /* We need this style to prevent web dropdowns from shifting the display when opening */ + body { + width: 100%; + } -- cgit 1.4.1