Fixed notifications overflow on small screens.

This commit is contained in:
2024-09-01 00:08:05 +02:00
parent 1407d656dd
commit 4f4ff0b4bc
3 changed files with 8 additions and 3 deletions

View File

@@ -5,6 +5,11 @@
top: 0;
left: 0;
outline: none;
max-width: 100%;
}
.v-popper__wrapper {
margin: 0 .25rem .25rem .25rem; /* arrow provides top clearance */
}
.v-popper__popper.v-popper__popper--hidden {

View File

@@ -58,7 +58,7 @@
<Icon icon="plus-circle" />
<time
v-tooltip="format(key.createdAt, 'yyyy-MM-dd hh:mm:ss')"
v-tooltip="`Created ${format(key.createdAt, 'yyyy-MM-dd hh:mm:ss')}`"
:datetime="key.createdAt.toISOString()"
>{{ formatDistanceStrict(key.createdAt, now) }} ago</time>
</span>
@@ -68,7 +68,7 @@
<template v-if="key.lastUsedAt">
<time
v-tooltip="`${key.lastUsedIp} at ${format(key.lastUsedAt, 'yyyy-MM-dd hh:mm:ss')}`"
v-tooltip="`Last used ${format(key.lastUsedAt, 'yyyy-MM-dd hh:mm:ss')} from IP ${key.lastUsedIp}`"
:datetime="key.lastUsedAt.toISOString()"
>{{ formatDistanceStrict(key.lastUsedAt, now) }} ago</time>
</template>

2
static

Submodule static updated: b4446bbb07...f3a2f48e3d