From db24dddeffe6198814a1e92b480dc1393d868da3 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 31 Jan 2020 04:53:16 +0900 Subject: [PATCH] Make notifications widget flexible (#5791) * Make notifications widget flexible * fix --- src/client/app.vue | 2 +- src/client/widgets/notifications.vue | 56 +++++++++++++++++++++++++--- src/client/widgets/timeline.vue | 4 +- 3 files changed, 53 insertions(+), 9 deletions(-) diff --git a/src/client/app.vue b/src/client/app.vue index eef6daad20..458917d706 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -929,7 +929,7 @@ export default Vue.extend({ > div { position: sticky; top: calc(#{$header-height} + var(--margin)); - height: calc(100vh - #{$header-height} - var(--margin) * 2); + height: calc(100vh - #{$header-height} - var(--margin)); &.edit { overflow: auto; diff --git a/src/client/widgets/notifications.vue b/src/client/widgets/notifications.vue index bc9b3a65a0..39a5880332 100644 --- a/src/client/widgets/notifications.vue +++ b/src/client/widgets/notifications.vue @@ -1,9 +1,9 @@