chore: fix sign in style

This commit is contained in:
boojack 2022-05-20 22:48:51 +08:00
parent 7b8a825489
commit 3fc907d446
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
@apply absolute top-3 left-3 px-1 leading-10 flex-shrink-0 text-base cursor-text text-gray-400 bg-transparent transition-all select-none;
&.not-null {
@apply text-sm top-0 leading-4 bg-white rounded;
@apply text-sm top-0 z-10 leading-4 bg-white rounded;
}
}

View File

@ -122,7 +122,7 @@ const Signin: React.FC<Props> = () => {
</div>
<div className={`page-content-container ${actionBtnLoadingState.isLoading ? "requesting" : ""}`}>
<div className="form-item-container input-form-container">
<span className={`normal-tex ${email ? "not-null" : ""}`}>Email</span>
<span className={`normal-text ${email ? "not-null" : ""}`}>Email</span>
<input type="email" value={email} onChange={handleEmailInputChanged} />
</div>
<div className="form-item-container input-form-container">