style: refine notification dialog layout and update button classes
This commit is contained in:
parent
65bf510386
commit
d3c3712466
2 changed files with 9 additions and 5 deletions
|
|
@ -115,7 +115,7 @@ onMounted(async () => {
|
|||
flat
|
||||
dense
|
||||
size="xs"
|
||||
class="app-text-muted-2 q-ml-sm q-mt-xs"
|
||||
class="app-text-muted-2 q-ml-sm"
|
||||
@click="async () => await deleteNoti()"
|
||||
>
|
||||
<q-tooltip>{{ $t('general.delete') }}</q-tooltip>
|
||||
|
|
@ -127,7 +127,7 @@ onMounted(async () => {
|
|||
flat
|
||||
dense
|
||||
size="xs"
|
||||
class="app-text-muted-2 q-mx-sm q-mt-xs"
|
||||
class="app-text-muted-2 q-mx-sm"
|
||||
@click="async () => await markAsRead()"
|
||||
>
|
||||
<q-tooltip>{{ $t('noti.markAsRead') }}</q-tooltip>
|
||||
|
|
|
|||
|
|
@ -35,8 +35,12 @@ async function fetchNoti() {
|
|||
</template>
|
||||
|
||||
<section v-if="noti" class="q-pa-md col full-width">
|
||||
<div class="surface-1 rounded bordered q-pa-md full-height full-width">
|
||||
{{ noti.title }}
|
||||
<article
|
||||
class="surface-1 rounded bordered q-pa-md full-height full-width"
|
||||
>
|
||||
<div class="text-bold">
|
||||
{{ noti.title }}
|
||||
</div>
|
||||
<div class="text-caption app-text-muted">
|
||||
{{
|
||||
dateFormatJS({
|
||||
|
|
@ -50,7 +54,7 @@ async function fetchNoti() {
|
|||
<div class="text-caption">
|
||||
{{ noti.detail }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<template #footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue