diff options
author | Hailey <me@haileyok.com> | 2024-10-11 08:35:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 08:35:53 -0700 |
commit | 8c6384175c8343c0cdc14b4fbefd53127f3f1866 (patch) | |
tree | e3551f104cdbf03c4c8867466941eb4ab029d2fb | |
parent | 5ebb630c9d9c462ca6c33f36dc470b53f88b62a5 (diff) | |
download | voidsky-8c6384175c8343c0cdc14b4fbefd53127f3f1866.tar.zst |
Fix dropdown shift on web (#5710)
-rw-r--r-- | bskyweb/templates/base.html | 4 | ||||
-rw-r--r-- | web/index.html | 4 |
2 files changed, 8 insertions, 0 deletions
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%; + } </style> {% 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%; + } </style> </head> |