Fix dropdown shift on web (#5710)

This commit is contained in:
Hailey
2024-10-11 08:35:53 -07:00
committed by GitHub
parent 5ebb630c9d
commit 8c6384175c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -75,6 +75,10 @@
top: 50%; top: 50%;
transform: translateX(-50%) translateY(-50%) translateY(-50px); 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> </style>
{% include "scripts.html" %} {% include "scripts.html" %}
+4
View File
@@ -80,6 +80,10 @@
top: 50%; top: 50%;
transform: translateX(-50%) translateY(-50%) translateY(-50px); 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> </style>
</head> </head>