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:
commit
568c41e302
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ErrorBoundary extends React.PureComponent<Props, State> {
|
||||||
<div className='flex-shrink-0 flex justify-center'>
|
<div className='flex-shrink-0 flex justify-center'>
|
||||||
<a href='/' className='inline-flex'>
|
<a href='/' className='inline-flex'>
|
||||||
{logo ? (
|
{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} />
|
<SvgIcon className='h-12 w-12' src={require('@tabler/icons/icons/home.svg')} alt={siteTitle} />
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue