diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-28 12:56:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 12:56:51 +0200 |
commit | 923f06a07c851b25b989412f341f87f8b8fff42f (patch) | |
tree | 2570214f18ba5d193f2990dbfc65081307d92851 | |
parent | d9d722d74b2cb9bf30fa4cc98af6ddbeca003ebc (diff) |
Fix number of uses being shown again on trending hashtags in web UI (#19484)
-rw-r--r-- | app/javascript/mastodon/components/hashtag.js | 1 | ||||
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/app/javascript/mastodon/components/hashtag.js b/app/javascript/mastodon/components/hashtag.js index 8dd27290a..75220211e 100644 --- a/app/javascript/mastodon/components/hashtag.js +++ b/app/javascript/mastodon/components/hashtag.js @@ -56,7 +56,6 @@ export const ImmutableHashtag = ({ hashtag }) => ( href={hashtag.get('url')} to={`/tags/${hashtag.get('name')}`} people={hashtag.getIn(['history', 0, 'accounts']) * 1 + hashtag.getIn(['history', 1, 'accounts']) * 1} - uses={hashtag.getIn(['history', 0, 'uses']) * 1 + hashtag.getIn(['history', 1, 'uses']) * 1} history={hashtag.get('history').reverse().map((day) => day.get('uses')).toArray()} /> ); diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 73f00e4c5..ded5634d6 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -7278,6 +7278,7 @@ noscript { align-items: center; padding: 15px; border-bottom: 1px solid lighten($ui-base-color, 8%); + gap: 15px; &:last-child { border-bottom: 0; @@ -7319,8 +7320,6 @@ noscript { font-size: 24px; font-weight: 500; text-align: right; - padding-right: 15px; - margin-left: 5px; color: $secondary-text-color; text-decoration: none; } |