From 01d8fa4e543b0a349c95ea7e60a79cf5ecc82157 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 23 Mar 2022 16:31:34 +0200 Subject: fix i18n at places --- src/components/conversation/conversation.vue | 46 ++++++++++++++++------------ 1 file changed, 26 insertions(+), 20 deletions(-) (limited to 'src/components/conversation/conversation.vue') diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 7628ceaa..39c5db33 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -27,20 +27,23 @@ v-if="shouldShowAllConversationButton" class="conversation-dive-to-top-level-box" > - - - - {{ $tc('status.show_all_conversation', otherTopLevelCount, { numStatus: otherTopLevelCount }) }} - - + + +
- - - - {{ $tc('status.ancestor_follow', getReplies(status.id).length - 1, { numReplies: getReplies(status.id).length - 1 }) }} - - + + +
-- cgit v1.2.3-70-g09d2 From afcfcce2e61ab5a4be8b618e61572d8eabe4ac7e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 29 Mar 2022 15:46:21 +0300 Subject: re-fix i18n warnings again --- src/components/conversation/conversation.vue | 2 ++ src/components/post_status_form/post_status_form.vue | 1 + src/components/settings_modal/tabs/theme_tab/preview.vue | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/conversation/conversation.vue') diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 39c5db33..ccc523a2 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -32,6 +32,7 @@ tag="button" class="button-unstyled -link" @click.prevent="diveToTopLevel" + scope="global" > diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index eeb6ea40..f779b823 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -39,7 +39,8 @@ const UserProfile = { return { error: false, userId: null, - tab: defaultTabKey + tab: defaultTabKey, + footerRef: null } }, created () { @@ -78,6 +79,9 @@ const UserProfile = { } }, methods: { + setFooterRef (el) { + this.footerRef = el + }, load (userNameOrId) { const startFetchingTimeline = (timeline, userId) => { // Clear timeline only if load another user's profile diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 67966ff4..74d101c4 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -56,6 +56,7 @@ :user-id="userId" :pinned-status-ids="user.pinnedStatusIds" :in-profile="true" + :footerSlipgate="footerRef" />
+
Date: Tue, 26 Apr 2022 00:10:33 +0300 Subject: better formatting --- src/components/conversation/conversation.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/components/conversation/conversation.vue') diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 48e7934c..ccedc121 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -251,14 +251,11 @@ .thread-ancestor-has-other-replies .conversation-status, .thread-ancestor:last-child .conversation-status, .thread-ancestor:last-child .thread-ancestor-dive-box, + &:last-child .conversation-status, &.-expanded .thread-tree .conversation-status { border-bottom: none; } - &:last-child .conversation-status { - border-bottom: none; - } - .thread-ancestors + .thread-tree > .conversation-status { border-top-width: 1px; border-top-style: solid; -- cgit v1.2.3-70-g09d2 From 54a40bfa01b64214b45f1d1142cb6bc2909a8673 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 9 May 2022 23:18:39 +0300 Subject: fix inline conversation's shadow showing through outer header --- src/components/conversation/conversation.vue | 2 ++ src/panel.scss | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components/conversation/conversation.vue') diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index ccedc121..6088e1ca 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -201,6 +201,8 @@ @import '../../_variables.scss'; .Conversation { + z-index: 1; + .conversation-dive-to-top-level-box { padding: var(--status-margin, $status-margin); border-bottom-width: 1px; diff --git a/src/panel.scss b/src/panel.scss index a14e732f..3a814269 100644 --- a/src/panel.scss +++ b/src/panel.scss @@ -18,7 +18,7 @@ bottom: 0; left: 0; right: 0; - z-index: 3; + z-index: 5; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); box-shadow: var(--panelShadow); pointer-events: none; @@ -60,7 +60,7 @@ padding: 0.6em; height: var(--__panel-heading-height); line-height: var(--__panel-heading-height-inner); - z-index: 3; + z-index: 4; &.-flexible-height { --__panel-heading-height: auto; -- cgit v1.2.3-70-g09d2