port changes to notifications

This commit is contained in:
Henry Jameson 2022-09-28 21:34:53 +03:00
parent 7519c7f5d5
commit 66014fcfcb
3 changed files with 37 additions and 32 deletions

View File

@ -109,22 +109,3 @@ export default {
} }
} }
</script> </script>
<style lang="scss">
.NotificationFilters {
align-self: stretch;
> button {
line-height: 100%;
height: 100%;
width: var(--__panel-heading-height-inner);
text-align: center;
svg {
font-size: 1.2em;
}
}
}
</style>

View File

@ -29,6 +29,26 @@
} }
} }
} }
.timeline-header-button {
align-self: stretch;
text-align: center;
width: var(--__panel-heading-height);
height: var(--__panel-heading-height);
margin: calc(-1 * var(--panel-heading-height-padding));
> button {
box-sizing: border-box;
padding: calc(1 * var(--panel-heading-height-padding));
height: 100%;
width: 100%;
text-align: center;
svg {
font-size: 1.2em;
}
}
}
} }
.notification { .notification {

View File

@ -20,20 +20,24 @@
class="badge badge-notification unseen-count" class="badge badge-notification unseen-count"
>{{ unseenCount }}</span> >{{ unseenCount }}</span>
</div> </div>
<button <div
class="timeline-header-button"
v-if="showScrollTop" v-if="showScrollTop"
class="button-unstyled scroll-to-top-button"
type="button"
@click="scrollToTop"
> >
<FALayers class="fa-scale-110 fa-old-padding-layer"> <button
<FAIcon icon="arrow-up" /> class="button-unstyled scroll-to-top-button"
<FAIcon type="button"
icon="minus" @click="scrollToTop"
transform="up-7" >
/> <FALayers class="fa-scale-110 fa-old-padding-layer">
</FALayers> <FAIcon icon="arrow-up" />
</button> <FAIcon
icon="minus"
transform="up-7"
/>
</FALayers>
</button>
</div>
<button <button
v-if="unseenCount" v-if="unseenCount"
class="button-default read-button" class="button-default read-button"
@ -42,7 +46,7 @@
> >
{{ $t('notifications.read') }} {{ $t('notifications.read') }}
</button> </button>
<NotificationFilters /> <NotificationFilters class="timeline-header-button" />
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div <div