diff options
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index e778e27b..08d65439 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -4,6 +4,7 @@ :to="teleportTarget" > <div + ref="root" :class="{ minimal: minimalMode }" class="Notifications" > @@ -20,8 +21,23 @@ >{{ unseenCount }}</span> </div> <button + v-if="showScrollTop" + class="button-unstyled scroll-to-top-button" + type="button" + @click="scrollToTop" + > + <FALayers class="fa-scale-110 fa-old-padding-layer"> + <FAIcon icon="arrow-up" /> + <FAIcon + icon="minus" + transform="up-7" + /> + </FALayers> + </button> + <button v-if="unseenCount" class="button-default read-button" + type="button" @click.prevent="markAsSeen" > {{ $t('notifications.read') }} |
