1
0
forked from noxious/client

Fixed modal resizing/dragging bug(s)

This commit is contained in:
Colin Kallemein 2024-06-23 13:07:37 +02:00
parent 1cfe6b9eee
commit 2c19d19c41
2 changed files with 5 additions and 3 deletions

View File

@ -194,7 +194,6 @@ function handleResize() {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
max-width: 1000px;
background-color: rgba($dark-gray, 0.8); background-color: rgba($dark-gray, 0.8);
border: 2px solid $dark-cyan; border: 2px solid $dark-cyan;
z-index: 999; z-index: 999;
@ -244,7 +243,6 @@ function handleResize() {
} }
.modal-body { .modal-body {
max-height: 80vh;
overflow: auto; overflow: auto;
flex-grow: 1; flex-grow: 1;

View File

@ -159,7 +159,7 @@ onMounted(() => {
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 8px; border-radius: 8px;
background-color: rgba($cyan, 0.8); background-color: rgba($cyan, 0.5);
padding: 0; padding: 0;
img { img {
position: absolute; position: absolute;
@ -170,6 +170,10 @@ onMounted(() => {
top: 50%; top: 50%;
transform: translateX(-50%) translateY(-50%) rotateX(180deg); transform: translateX(-50%) translateY(-50%) rotateX(180deg);
} }
&:hover {
background-color: rgba($cyan, 0.8);
}
} }
.asset-categories { .asset-categories {