From 666c8c0498c97b3605072cdfeb2e3b506124dd29 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Nov 2020 22:49:08 +0900 Subject: [PATCH] Improve usability --- src/client/components/taskmanager.vue | 8 ++++++++ src/client/components/ui/window.vue | 3 +++ 2 files changed, 11 insertions(+) diff --git a/src/client/components/taskmanager.vue b/src/client/components/taskmanager.vue index b81f26736..91b52ecc3 100644 --- a/src/client/components/taskmanager.vue +++ b/src/client/components/taskmanager.vue @@ -180,6 +180,14 @@ export default defineComponent({ &.api { > div { + &:not(.header) { + cursor: pointer; + + &:hover { + color: var(--accent); + } + } + > .state { &.pending { color: var(--warn); diff --git a/src/client/components/ui/window.vue b/src/client/components/ui/window.vue index 4c90ab9c8..f1cf0d683 100644 --- a/src/client/components/ui/window.vue +++ b/src/client/components/ui/window.vue @@ -119,6 +119,9 @@ export default defineComponent({ z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex) }); + // 他のウィンドウ内のボタンなどを押してこのウィンドウが開かれた場合、親が最前面になろうとするのでそれに隠されないようにする + this.top(); + window.addEventListener('resize', this.onBrowserResize); },