From 74f34c12916da9694e79fb63d24f59bc00d6dbcd Mon Sep 17 00:00:00 2001 From: Takeshi Umeda Date: Thu, 31 Dec 2020 07:18:39 +0900 Subject: [PATCH] Fix logo button style more (#15458) --- app/javascript/styles/mastodon/containers.scss | 1 - app/javascript/styles/mastodon/statuses.scss | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index cb03013723..e40ad18fff 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -445,7 +445,6 @@ } .logo-button { - line-height: 36px; padding: 3px 15px; } diff --git a/app/javascript/styles/mastodon/statuses.scss b/app/javascript/styles/mastodon/statuses.scss index b49b4c7cdd..078714325e 100644 --- a/app/javascript/styles/mastodon/statuses.scss +++ b/app/javascript/styles/mastodon/statuses.scss @@ -83,7 +83,7 @@ background: $ui-highlight-color; color: $primary-text-color; text-transform: none; - line-height: 16px; + line-height: 1.2; height: auto; min-height: 36px; min-width: 88px; @@ -131,6 +131,12 @@ } } +a.button.logo-button { + display: inline-flex; + align-items: center; + justify-content: center; +} + .embed, .public-layout { .status__content[data-spoiler=folded] {