From 1c2740281488e0a043b16095206b4488f7e81491 Mon Sep 17 00:00:00 2001 From: "ildar.timerbaev" Date: Mon, 25 Mar 2024 21:54:00 +0600 Subject: [PATCH] Fixed tag list item close button and layout --- .../comment/__snapshots__/index.spec.tsx.snap | 6 ++++-- .../__snapshots__/index.spec.tsx.snap | 5 +++++ .../__snapshots__/index.spec.tsx.snap | 8 ++++++-- .../__snapshots__/index.spec.tsx.snap | 3 +++ .../__snapshots__/index.spec.tsx.snap | 14 +++++++++++-- .../components/trending-tags-card/index.tsx | 5 +++-- src/common/pages/onboard.tsx | 20 +++++++++++++------ src/style/_mixins.scss | 4 +++- 8 files changed, 50 insertions(+), 15 deletions(-) diff --git a/src/common/components/comment/__snapshots__/index.spec.tsx.snap b/src/common/components/comment/__snapshots__/index.spec.tsx.snap index f48ce3fbf62..104e49f1eaf 100644 --- a/src/common/components/comment/__snapshots__/index.spec.tsx.snap +++ b/src/common/components/comment/__snapshots__/index.spec.tsx.snap @@ -7,6 +7,7 @@ exports[`(1) Default render 1`] = ` >
@@ -372,6 +373,7 @@ exports[`(2) Cancellable, in progress 1`] = ` >
diff --git a/src/common/components/community-selector/__snapshots__/index.spec.tsx.snap b/src/common/components/community-selector/__snapshots__/index.spec.tsx.snap index d4d0648b17a..9b184fb47aa 100644 --- a/src/common/components/community-selector/__snapshots__/index.spec.tsx.snap +++ b/src/common/components/community-selector/__snapshots__/index.spec.tsx.snap @@ -4,6 +4,7 @@ exports[`(1) Empty tags. 1`] = ` +
+
{isChecked && ( @@ -737,10 +737,18 @@ const Onboard = (props: Props) => { />
- {_t("onboard.posts-comments")} {commentAmount} | - {_t("onboard.votes")} {voteAmount} | - {_t("onboard.transfers")} {transferAmount} | - {_t("onboard.reblogs-follows")} {customJsonAmount} + + {_t("onboard.posts-comments")} {commentAmount} | + + + {_t("onboard.votes")} {voteAmount} | + + + {_t("onboard.transfers")} {transferAmount} | + + + {_t("onboard.reblogs-follows")} {customJsonAmount} +
)} diff --git a/src/style/_mixins.scss b/src/style/_mixins.scss index 98e0c1282dc..784f0f5426c 100644 --- a/src/style/_mixins.scss +++ b/src/style/_mixins.scss @@ -566,7 +566,9 @@ .tag-list-item { border-radius: 25px; cursor: pointer; - display: table; + display: flex; + align-items: center; + justify-content: center; margin-bottom: 8px; padding: 4px 8px; text-decoration: none;