about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-12-31 07:18:39 +0900
committerGitHub <noreply@github.com>2020-12-30 23:18:39 +0100
commit3f4b0dfd47d35818b36fedb767a5a82dc02f87cc (patch)
tree39260617d02a4dea8d8c5c723d4fdcca5f3db28f
parentcb5bb2313b333b8f985e26a09415069b43770a37 (diff)
Fix logo button style more (#15458)
-rw-r--r--app/javascript/styles/mastodon/containers.scss1
-rw-r--r--app/javascript/styles/mastodon/statuses.scss8
2 files changed, 7 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss
index cb0301372..e40ad18ff 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 b49b4c7cd..078714325 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] {