mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
fix(client): オートコンプリートがダイアログの裏に隠れる問題を修正
This commit is contained in:
parent
4a3e58938c
commit
1714cb000b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="swhvrteh _popup _shadow" @contextmenu.prevent="() => {}">
|
<div class="swhvrteh _popup _shadow" :style="{ zIndex }" @contextmenu.prevent="() => {}">
|
||||||
<ol v-if="type === 'user'" ref="suggests" class="users">
|
<ol v-if="type === 'user'" ref="suggests" class="users">
|
||||||
<li v-for="user in users" tabindex="-1" class="user" @click="complete(type, user)" @keydown="onKeydown">
|
<li v-for="user in users" tabindex="-1" class="user" @click="complete(type, user)" @keydown="onKeydown">
|
||||||
<img class="avatar" :src="user.avatarUrl"/>
|
<img class="avatar" :src="user.avatarUrl"/>
|
||||||
|
@ -157,6 +157,7 @@ export default defineComponent({
|
||||||
items: [],
|
items: [],
|
||||||
mfmTags: [],
|
mfmTags: [],
|
||||||
select: -1,
|
select: -1,
|
||||||
|
zIndex: os.claimZIndex(true),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -403,7 +404,6 @@ export default defineComponent({
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.swhvrteh {
|
.swhvrteh {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 65535;
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-top: calc(1em + 8px);
|
margin-top: calc(1em + 8px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Loading…
Reference in a new issue