From 485f962c3a128a384d8aa0eea55e9ea626831399 Mon Sep 17 00:00:00 2001 From: Ducky Date: Mon, 14 Nov 2022 03:38:24 +0000 Subject: [PATCH] Gearheads: fix logo sizes being all weird Should really sort this out in the SVG itself: not entirely sure why its going small with the original viewbox. --- app/helpers/branding_helper.rb | 2 +- app/javascript/mastodon/components/logo.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/branding_helper.rb b/app/helpers/branding_helper.rb index ad7702aea..673207669 100644 --- a/app/helpers/branding_helper.rb +++ b/app/helpers/branding_helper.rb @@ -11,7 +11,7 @@ module BrandingHelper end def _logo_as_symbol_wordmark - content_tag(:svg, tag(:use, href: '#logo-symbol-wordmark'), viewBox: '0 0 261 66', class: 'logo logo--wordmark') + content_tag(:svg, tag(:use, href: '#logo-symbol-wordmark'), viewBox: '0 0 112 30', class: 'logo logo--wordmark') end def _logo_as_symbol_icon diff --git a/app/javascript/mastodon/components/logo.js b/app/javascript/mastodon/components/logo.js index ee5c22496..e75694e65 100644 --- a/app/javascript/mastodon/components/logo.js +++ b/app/javascript/mastodon/components/logo.js @@ -1,7 +1,7 @@ import React from 'react'; const Logo = () => ( - + Mastodon