feat: upgrade dev version to 0.8.1 (#656)

* feat: upgrade version to `0.8.1`

* chore: update
This commit is contained in:
boojack
2022-12-02 21:09:11 +08:00
committed by GitHub
parent 14f9f29348
commit a467a7c173
14 changed files with 28 additions and 68 deletions

View File

@ -158,12 +158,10 @@ const PreferencesSection = () => {
<span className="tip-text">{t("common.yourself")}</span>
) : (
<Dropdown
actionsClassName="!w-24"
positionClassName="bottom-full right-0 mb-1"
actions={
<>
<button
className="w-full text-left text-sm leading-6 py-1 px-3 cursor-pointer rounded hover:bg-gray-100 dark:hover:bg-zinc-600"
className="w-full text-left text-sm whitespace-nowrap leading-6 py-1 px-3 cursor-pointer rounded hover:bg-gray-100 dark:hover:bg-zinc-600"
onClick={() => handleChangePasswordClick(user)}
>
{t("setting.account-section.change-password")}
@ -184,7 +182,7 @@ const PreferencesSection = () => {
{t("common.restore")}
</button>
<button
className="w-full text-left text-sm leading-6 py-1 px-3 cursor-pointer rounded text-red-600 hover:bg-gray-100"
className="w-full text-left text-sm leading-6 py-1 px-3 cursor-pointer rounded text-red-600 hover:bg-gray-100 dark:hover:bg-zinc-600"
onClick={() => handleDeleteUserClick(user)}
>
{t("common.delete")}