From 2c19d19c414cb8713c1e34a402b3f338ffc02864 Mon Sep 17 00:00:00 2001 From: Colin Kallemein Date: Sun, 23 Jun 2024 13:07:37 +0200 Subject: [PATCH] Fixed modal resizing/dragging bug(s) --- src/components/utilities/Modal.vue | 2 -- src/components/utilities/assetManager/AssetManager.vue | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/utilities/Modal.vue b/src/components/utilities/Modal.vue index 6c7ee7f..d3c9ea8 100644 --- a/src/components/utilities/Modal.vue +++ b/src/components/utilities/Modal.vue @@ -194,7 +194,6 @@ function handleResize() { position: fixed; top: 0; left: 0; - max-width: 1000px; background-color: rgba($dark-gray, 0.8); border: 2px solid $dark-cyan; z-index: 999; @@ -244,7 +243,6 @@ function handleResize() { } .modal-body { - max-height: 80vh; overflow: auto; flex-grow: 1; diff --git a/src/components/utilities/assetManager/AssetManager.vue b/src/components/utilities/assetManager/AssetManager.vue index 9ae33a2..50ed46e 100644 --- a/src/components/utilities/assetManager/AssetManager.vue +++ b/src/components/utilities/assetManager/AssetManager.vue @@ -159,7 +159,7 @@ onMounted(() => { width: 50px; height: 50px; border-radius: 8px; - background-color: rgba($cyan, 0.8); + background-color: rgba($cyan, 0.5); padding: 0; img { position: absolute; @@ -170,6 +170,10 @@ onMounted(() => { top: 50%; transform: translateX(-50%) translateY(-50%) rotateX(180deg); } + + &:hover { + background-color: rgba($cyan, 0.8); + } } .asset-categories {