mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-04 23:17:34 +08:00
feat: modify default class (#93)
This commit is contained in:
@@ -148,7 +148,7 @@ onMounted(async () => {
|
|||||||
{{ t('refresh') }}
|
{{ t('refresh') }}
|
||||||
</n-button>
|
</n-button>
|
||||||
</div>
|
</div>
|
||||||
<div style="overflow: scroll; max-height: 80vh;">
|
<div style="overflow: scroll; 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)"
|
||||||
:class="mailItemClass(row)">
|
:class="mailItemClass(row)">
|
||||||
@@ -188,7 +188,7 @@ onMounted(async () => {
|
|||||||
</n-space>
|
</n-space>
|
||||||
<div v-html="curMail.message" style="max-height: 100vh;"></div>
|
<div v-html="curMail.message" style="max-height: 100vh;"></div>
|
||||||
</n-card>
|
</n-card>
|
||||||
<n-card v-else>
|
<n-card class="mail-item" v-else>
|
||||||
<n-result status="info" :title="t('pleaseSelectMail')">
|
<n-result status="info" :title="t('pleaseSelectMail')">
|
||||||
</n-result>
|
</n-result>
|
||||||
</n-card>
|
</n-card>
|
||||||
@@ -301,4 +301,8 @@ onMounted(async () => {
|
|||||||
.overlay-light-backgroud {
|
.overlay-light-backgroud {
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mail-item {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user