mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 15:38:34 +08:00
fix: UI mailbox 100vh to 80vh (#179)
This commit is contained in:
@@ -255,7 +255,7 @@ onBeforeUnmount(() => {
|
|||||||
{{ t('refresh') }}
|
{{ t('refresh') }}
|
||||||
</n-button>
|
</n-button>
|
||||||
</div>
|
</div>
|
||||||
<div id="drawer-target" style="overflow: auto; height: 80vh;">
|
<div style="overflow: auto; height: 80vh;">
|
||||||
<n-list hoverable clickable>
|
<n-list hoverable clickable>
|
||||||
<n-list-item v-for="row in data" v-bind:key="row.id" @click="() => clickRow(row)">
|
<n-list-item v-for="row in data" v-bind:key="row.id" @click="() => clickRow(row)">
|
||||||
<n-thing :title="row.subject">
|
<n-thing :title="row.subject">
|
||||||
@@ -277,7 +277,8 @@ onBeforeUnmount(() => {
|
|||||||
</n-list-item>
|
</n-list-item>
|
||||||
</n-list>
|
</n-list>
|
||||||
</div>
|
</div>
|
||||||
<n-drawer v-model:show="curMail" width="100%" :trap-focus="false" :block-scroll="false" to="#drawer-target">
|
<n-drawer v-model:show="curMail" width="100%" placement="bottom" :trap-focus="false" :block-scroll="false"
|
||||||
|
style="height: 80vh;">
|
||||||
<n-drawer-content :title="curMail ? curMail.subject : ''" closable>
|
<n-drawer-content :title="curMail ? curMail.subject : ''" closable>
|
||||||
<n-card style="overflow: auto;">
|
<n-card style="overflow: auto;">
|
||||||
<n-space>
|
<n-space>
|
||||||
|
|||||||
Reference in New Issue
Block a user