chore: update popup button styles

This commit is contained in:
boojack
2022-06-22 19:52:06 +08:00
parent 4ce728300b
commit 3be5ea34a4
10 changed files with 24 additions and 29 deletions

View File

@ -71,7 +71,7 @@ const MyAccountSection: React.FC<Props> = () => {
<label className="form-label input-form-label username-label">
<span className="normal-text">Username:</span>
<input type="text" value={username} onChange={handleUsernameChanged} />
<div className={`btns-container ${username === user.name ? "hidden" : ""}`} onClick={handlePreventDefault}>
<div className={`btns-container ${username === user.name ? "!hidden" : ""}`} onClick={handlePreventDefault}>
<span className="btn confirm-btn" onClick={handleConfirmEditUsernameBtnClick}>
Save
</span>