Fix some possible issue may happen in future

This commit is contained in:
KOWX712
2024-12-05 01:24:53 +08:00
parent 6f9d4482a7
commit 504918a289

View File

@@ -69,6 +69,8 @@ body {
border-radius: 8px; border-radius: 8px;
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
max-height: calc(100vh - 50px);
overflow-y: auto;
transform: translateY(-10px); transform: translateY(-10px);
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
} }
@@ -386,7 +388,6 @@ body {
z-index: 1000; z-index: 1000;
} }
.search-input { .search-input {
position: absolute; position: absolute;
border: none; border: none;
@@ -459,6 +460,8 @@ body {
transform: translateX(120%); transform: translateX(120%);
transition: transform 0.2s ease; transition: transform 0.2s ease;
width: auto; width: auto;
max-height: calc(100vh - 120px);
overflow-y: auto;
white-space: nowrap; white-space: nowrap;
} }