fix(login): fix the gap when 'use your overseer account' was selected (#870)

This commit is contained in:
Jakob Ankarhem
2021-02-09 01:08:08 +01:00
committed by GitHub
parent ee5076146e
commit d163e29459

View File

@@ -147,10 +147,10 @@ const Login: React.FC = () => {
{settings.currentSettings.localLogin && ( {settings.currentSettings.localLogin && (
<div> <div>
<button <button
className={`w-full py-2 text-sm text-center text-gray-400 transition-colors duration-200 bg-gray-800 cursor-default focus:outline-none bg-opacity-70 sm:rounded-t-lg hover:bg-gray-700 hover:cursor-pointer ${ className={`w-full py-2 text-sm text-center text-gray-400 transition-colors duration-200 bg-gray-800 cursor-default focus:outline-none bg-opacity-70 hover:bg-gray-700 hover:cursor-pointer ${
openIndexes.includes(1) openIndexes.includes(1)
? 'text-indigo-500' ? 'text-indigo-500'
: 'sm:rounded-b-lg ' : 'sm:rounded-b-lg'
}`} }`}
onClick={() => handleClick(1)} onClick={() => handleClick(1)}
> >