Improve scaling logic of popup list in skin editor..
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user