fix admin scrolling

This commit is contained in:
A 2026-07-17 01:15:06 +08:00
parent 25ab04a254
commit 9d889cabf3
5 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>telesrv admin</title>
<script type="module" crossorigin src="/assets/index-Q8RNNOYL.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CSxFgF7v.css">
<link rel="stylesheet" crossorigin href="/assets/index-BaxMq_AT.css">
</head>
<body>
<div id="root"></div>

View file

@ -62,6 +62,7 @@ a {
height: 100vh;
flex-direction: column;
gap: 16px;
overflow-y: auto;
padding: 18px 12px;
color: #eef2f6;
background: var(--sidebar);

View file

@ -24,6 +24,11 @@
flex-direction: column;
}
.command-modal > .modal-head,
.command-modal > .modal-actions {
flex: 0 0 auto;
}
.modal-head {
display: flex;
align-items: flex-start;
@ -52,6 +57,8 @@
.command-body {
display: grid;
min-height: 0;
grid-auto-rows: max-content;
gap: 12px;
overflow: auto;
padding: 14px 18px;