gearheads
/
mastodon
Archived
2
0
Fork 0

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.
gh/stable
Ducky 2022-11-14 03:38:24 +00:00
parent 00575b4896
commit 485f962c3a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
import React from 'react';
const Logo = () => (
<svg viewBox='0 0 261 66' className='logo' role='img'>
<svg viewBox='0 0 112 30' className='logo' role='img'>
<title>Mastodon</title>
<use xlinkHref='#logo-symbol-wordmark' />
</svg>