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

This commit is contained in:
Alex Gleason 2022-05-06 11:41:50 -05:00
parent e734c7c967
commit f2d59d901f
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

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} />
)}