From 42f34cfb81e6c1fbd3f9add256cd7822ac3949d8 Mon Sep 17 00:00:00 2001 From: fef Date: Tue, 29 Nov 2022 06:25:43 +0000 Subject: [PATCH] fix padding for reaction button --- .../flavours/glitch/components/status_action_bar.js | 2 +- .../flavours/glitch/styles/components/accounts.scss | 4 ++++ .../flavours/glitch/styles/components/status.scss | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_action_bar.js b/app/javascript/flavours/glitch/components/status_action_bar.js index 6ac2acc22d..04ca06ffe9 100644 --- a/app/javascript/flavours/glitch/components/status_action_bar.js +++ b/app/javascript/flavours/glitch/components/status_action_bar.js @@ -333,7 +333,7 @@ class StatusActionBar extends ImmutablePureComponent { /> - + {shareButton} diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss index ac2d642a8d..7554d4fe93 100644 --- a/app/javascript/flavours/glitch/styles/components/accounts.scss +++ b/app/javascript/flavours/glitch/styles/components/accounts.scss @@ -306,6 +306,10 @@ text-align: center; } +.detailed-status__button .emoji-button { + padding: 0; +} + .relationship-tag { color: $primary-text-color; margin-bottom: 4px; diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index 054110e410..d39a2df9b3 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -408,7 +408,7 @@ background: linear-gradient(rgba($ui-base-color, 0), rgba($ui-base-color, 1)); pointer-events: none; } - + a:hover { text-decoration: none; } @@ -577,6 +577,10 @@ align-items: center; display: flex; margin-top: 8px; + + & > .emoji-picker-dropdown > .emoji-button { + padding: 0; + } } .status__action-bar-button {