logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 85c515b3952d819b4bb983426ac562c4c00a193d
parent 631b8b93a4a8dd548bae5ab9fa7bc4d6e892ae3f
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 20 Apr 2022 19:57:01 +0300

more fixes for timeline headers

Diffstat:

Msrc/components/notifications/notification_filters.vue11+++++++----
Msrc/components/popover/popover.vue2+-
Msrc/components/timeline/timeline.vue2+-
Msrc/components/timeline/timeline_quick_settings.vue9++++++---
4 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/src/components/notifications/notification_filters.vue b/src/components/notifications/notification_filters.vue @@ -106,12 +106,15 @@ export default { .NotificationFilters { align-self: stretch; - .filter-trigger-button { - font-size: 1.2em; - padding-left: 0.7em; - padding-right: 0.2em; + > button { line-height: 100%; height: 100%; + width: var(--__panel-heading-height-inner); + text-align: center; + + svg { + font-size: 1.2em; + } } } diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue @@ -5,7 +5,7 @@ > <button ref="trigger" - class="button-unstyled -fullwidth popover-trigger-button" + class="button-unstyled popover-trigger-button" type="button" @click="onClick" > diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue @@ -60,7 +60,7 @@ </div> <button v-else-if="!timeline.loading" - class="button-unstyled -link -fullwidth" + class="button-unstyled -link" @click.prevent="fetchOlderStatuses()" > <div class="new-status-notification text-center"> diff --git a/src/components/timeline/timeline_quick_settings.vue b/src/components/timeline/timeline_quick_settings.vue @@ -96,11 +96,14 @@ align-self: stretch; > button { - font-size: 1.2em; - padding-left: 0.7em; - padding-right: 0.2em; line-height: 100%; height: 100%; + width: var(--__panel-heading-height-inner); + text-align: center; + + svg { + font-size: 1.2em; + } } }