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

pull/877/head
Jakob Ankarhem 4 years ago committed by GitHub
parent ee5076146e
commit d163e29459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save