mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-23 14:35:14 +00:00
Improve usability
This commit is contained in:
parent
d3e764d7f9
commit
666c8c0498
2 changed files with 11 additions and 0 deletions
|
@ -180,6 +180,14 @@ export default defineComponent({
|
||||||
|
|
||||||
&.api {
|
&.api {
|
||||||
> div {
|
> div {
|
||||||
|
&:not(.header) {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: var(--accent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> .state {
|
> .state {
|
||||||
&.pending {
|
&.pending {
|
||||||
color: var(--warn);
|
color: var(--warn);
|
||||||
|
|
|
@ -119,6 +119,9 @@ export default defineComponent({
|
||||||
z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex)
|
z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 他のウィンドウ内のボタンなどを押してこのウィンドウが開かれた場合、親が最前面になろうとするのでそれに隠されないようにする
|
||||||
|
this.top();
|
||||||
|
|
||||||
window.addEventListener('resize', this.onBrowserResize);
|
window.addEventListener('resize', this.onBrowserResize);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue