From 93c66f0c03c27ee02b9875c3c051d9bf50b33e19 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 May 2018 16:10:55 +0200 Subject: [PATCH] In footer, replace text "Mastodon" with logo (#7545) --- app/javascript/styles/mastodon/footer.scss | 8 ++++++++ app/views/layouts/public.html.haml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/javascript/styles/mastodon/footer.scss b/app/javascript/styles/mastodon/footer.scss index dd3c1b6884..fe2d40c0cc 100644 --- a/app/javascript/styles/mastodon/footer.scss +++ b/app/javascript/styles/mastodon/footer.scss @@ -26,5 +26,13 @@ text-decoration: none; } } + + img { + margin: 0 4px; + position: relative; + bottom: -1px; + height: 18px; + vertical-align: top; + } } } diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 63cc3c7a7d..600290297d 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -12,6 +12,6 @@ - else %span.footer__domain= link_to site_hostname, root_path %span.powered-by - != t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org')) + != t('generic.powered_by', link: link_to('https://joinmastodon.org') { image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon' }) = render template: 'layouts/application'