Merge branch 'error-logo' into 'develop'

ErrorBoundary: only limit the logo's height (not width)

See merge request soapbox-pub/soapbox-fe!1320
This commit is contained in:
Alex Gleason 2022-05-06 16:59:38 +00:00
commit 568c41e302

View file

@ -118,7 +118,7 @@ class ErrorBoundary extends React.PureComponent<Props, State> {
<div className='flex-shrink-0 flex justify-center'>
<a href='/' className='inline-flex'>
{logo ? (
<img className='h-12 w-12' src={logo} alt={siteTitle} />
<img className='h-12' src={logo} alt={siteTitle} />
) : (
<SvgIcon className='h-12 w-12' src={require('@tabler/icons/icons/home.svg')} alt={siteTitle} />
)}