about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2020-01-29 11:35:54 -0500
committerGitHub <noreply@github.com>2020-01-29 17:35:54 +0100
commit50cd73e5d7e39600203c9c3f591f04289f41e297 (patch)
treeacd661871637ffbb1a61d1def9bcf4ab25e8f28e /app/javascript
parentbba0269d9741c8c4daaa9048c265a1321d93fbba (diff)
Add "Show thread" button to public profiles (#13000)
This adds "Show thread" button to the status view which is used in
profiles. The logic to display the button is mimicking logic in
web app available at app/javascript/mastodon/components/status.js#L439.

* The little change in components CSS required to remove enforced
  underline for all links on public pages on our button.
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index d72f2e059..7c09780b4 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -923,6 +923,7 @@
   background: transparent;
   padding: 0;
   padding-top: 8px;
+  text-decoration: none;
 
   &:hover,
   &:active {