Added fixed logo height in signup form

refs https://github.com/TryGhost/Team/issues/3346
This commit is contained in:
Simon Backx 2023-06-01 14:39:52 +02:00
parent bcaf95f506
commit 279a734f68

View File

@ -20,7 +20,7 @@ export const FormView: React.FC<FormProps & {
data-testid="wrapper" data-testid="wrapper"
style={{backgroundColor, color: backgroundColor && textColorForBackgroundColor(backgroundColor)}} style={{backgroundColor, color: backgroundColor && textColorForBackgroundColor(backgroundColor)}}
> >
{logo && <img alt={title} src={logo} width='100' />} {logo && <img alt={title} src={logo} className='h-[50px] w-auto'/>}
{title && <h1 className="text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl">{title}</h1>} {title && <h1 className="text-center text-lg font-bold sm:text-xl md:text-2xl lg:text-3xl">{title}</h1>}
{description && <p className='mb-5 text-center'>{description}</p>} {description && <p className='mb-5 text-center'>{description}</p>}