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
parent
00575b4896
commit
485f962c3a
|
@ -11,7 +11,7 @@ module BrandingHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def _logo_as_symbol_wordmark
|
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
|
end
|
||||||
|
|
||||||
def _logo_as_symbol_icon
|
def _logo_as_symbol_icon
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const Logo = () => (
|
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>
|
<title>Mastodon</title>
|
||||||
<use xlinkHref='#logo-symbol-wordmark' />
|
<use xlinkHref='#logo-symbol-wordmark' />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Reference in New Issue