fix manager center gift dropdown height

This commit is contained in:
zhx 2026-06-26 11:42:24 +08:00
parent a2fa09374d
commit 16ef3ff032
3 changed files with 12 additions and 5 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<title>Manager Center</title>
<link rel="stylesheet" href="./style.css?v=20260625-0200" />
<link rel="stylesheet" href="./style.css?v=20260626-0100" />
</head>
<body>
<div class="manager-center" aria-label="Manager Center" data-i18n-aria="page_label" data-loading="true">
@ -264,6 +264,6 @@
</div>
<div class="toast" id="toast" role="status" hidden></div>
</div>
<script src="./script.js?v=20260625-0200" defer></script>
<script src="./script.js?v=20260626-0100" defer></script>
</body>
</html>

View File

@ -463,7 +463,7 @@
if (window.location.protocol === "file:") return fallbackMessages[normalizedLang];
try {
const response = await fetch(`./locales/${normalizedLang}.json?v=20260625-0200`, { cache: "no-store" });
const response = await fetch(`./locales/${normalizedLang}.json?v=20260626-0100`, { cache: "no-store" });
if (response.ok) return await response.json();
} catch (error) {
return fallbackMessages[normalizedLang];

View File

@ -618,13 +618,20 @@ textarea:focus {
left: 0;
display: grid;
gap: 4px;
max-height: 220px;
max-height: min(34vh, 180px);
overflow-y: auto;
overscroll-behavior: contain;
border: 1px solid rgba(35, 40, 46, 0.1);
border-radius: 8px;
padding: 6px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 16px 36px rgba(32, 36, 42, 0.18);
scrollbar-width: thin;
scrollbar-color: rgba(24, 184, 159, 0.45) transparent;
}
#propsTypeMenu {
max-height: min(24vh, 144px);
}
.custom-select-menu button {
@ -855,7 +862,7 @@ textarea:focus {
}
.modal-body .props-list {
max-height: min(52vh, 430px);
max-height: min(36vh, 280px);
}
.loading-mask {