about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bskyweb/templates/base.html4
-rw-r--r--web/index.html4
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>