logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 9ae8ff009817eae5ceaf632c1d76892d25467292
parent bb29218a6cb3682d230c12c630916562f8b24028
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 20 Apr 2022 00:46:04 +0300

fix scrollbars in panel headers

Diffstat:

Msrc/components/settings_modal/settings_modal.vue23+++++++----------------
Msrc/panel.scss2++
2 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/src/components/settings_modal/settings_modal.vue b/src/components/settings_modal/settings_modal.vue @@ -11,22 +11,13 @@ {{ $t('settings.settings') }} </span> <transition name="fade"> - <div v-if="currentSaveStateNotice"> - <div - v-if="currentSaveStateNotice.error" - class="alert error" - @click.prevent - > - {{ $t('settings.saving_err') }} - </div> - - <div - v-if="!currentSaveStateNotice.error" - class="alert transparent" - @click.prevent - > - {{ $t('settings.saving_ok') }} - </div> + <div + v-if="currentSaveStateNotice" + class="alert" + :class="{ transparent: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}" + @click.prevent + > + {{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }} </div> </transition> <button diff --git a/src/panel.scss b/src/panel.scss @@ -118,6 +118,8 @@ margin: 0; margin-left: 0.5em; min-width: 1px; + padding-top: 0; + padding-bottom: 0; } .button-default {