From 2a6f42fef3ff9c087aab4589d229e0f6c1b45c90 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 25 Apr 2022 23:50:22 +0300 Subject: [PATCH] unified how panel-footer works between regular timelines and user timeline --- src/components/conversation/conversation.vue | 5 ++ .../notifications/notifications.scss | 8 +-- .../notifications/notifications.vue | 2 +- src/components/timeline/timeline.js | 3 +- src/components/timeline/timeline.vue | 62 ++++++++++--------- src/components/user_profile/user_profile.js | 6 +- src/components/user_profile/user_profile.vue | 4 ++ 7 files changed, 53 insertions(+), 37 deletions(-) diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index c2c323c19b..48e7934c14 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -223,6 +223,7 @@ --text: var(--faint); color: var(--text); } + .thread-ancestor-dive-box { padding-left: var(--status-margin, $status-margin); border-bottom-width: 1px; @@ -254,6 +255,10 @@ border-bottom: none; } + &:last-child .conversation-status { + border-bottom: none; + } + .thread-ancestors + .thread-tree > .conversation-status { border-top-width: 1px; border-top-style: solid; diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 976688d139..07abee2734 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -11,10 +11,6 @@ color: var(--text, $fallback--text); } - .notifications-footer { - border: none; - } - .notification { position: relative; @@ -47,6 +43,10 @@ } } + &:last-child .Notification { + border-bottom: none; + } + .non-mention { display: flex; flex: 1; diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index bfc97dc078..d5b2d1d5bb 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -36,7 +36,7 @@ -