Improve scaling logic of popup list in skin editor..

This commit is contained in:
2023-03-15 15:39:31 +08:00
parent b64f85aaa2
commit 0bc57c368f
2 changed files with 22 additions and 11 deletions

View File

@@ -45,15 +45,21 @@ body {
overflow: auto;
}
.t-list {
.t-list-container {
position: absolute;
max-width: 100vw;
max-height: 100vh;
overflow: auto;
background-color: floralwhite;
box-sizing: border-box;
border: solid 1px gray;
border-radius: 4px;
}
.t-list-composed {
max-width: 100vw;
max-height: 100vh;
}
.t-list {
padding: 2px;
margin: 0;
}
@@ -294,7 +300,7 @@ input {
background-color: black;
color: white;
}
.t-list {
.t-list-container {
background-color: darkslategray;
}
.t-li:hover {