chore: update setting dialog style

This commit is contained in:
boojack
2022-07-01 19:32:42 +08:00
parent bfc6e4dd0f
commit 1b60180b79
3 changed files with 10 additions and 6 deletions

View File

@ -39,13 +39,13 @@ const SettingDialog: React.FC<Props> = (props: Props) => {
onClick={() => handleSectionSelectorItemClick("my-account")}
className={`section-item ${state.selectedSection === "my-account" ? "selected" : ""}`}
>
My account
<span className="icon-text">🤠</span> My account
</span>
<span
onClick={() => handleSectionSelectorItemClick("preferences")}
className={`section-item ${state.selectedSection === "preferences" ? "selected" : ""}`}
>
Preferences
<span className="icon-text">🏟</span> Preferences
</span>
</div>
{user?.role === "OWNER" ? (
@ -56,7 +56,7 @@ const SettingDialog: React.FC<Props> = (props: Props) => {
onClick={() => handleSectionSelectorItemClick("member")}
className={`section-item ${state.selectedSection === "member" ? "selected" : ""}`}
>
Member
<span className="icon-text">👤</span> Member
</span>
</div>
</>