mirror of
https://github.com/usememos/memos.git
synced 2025-01-01 10:01:54 +08:00
chore: remove language beta badge
This commit is contained in:
parent
bdfa9f7a56
commit
8d694f7732
3 changed files with 1 additions and 10 deletions
|
@ -127,7 +127,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
|
|||
</button>
|
||||
</div>
|
||||
<div className="dialog-content-container">
|
||||
<div className="tip-text-container">(👨💻WIP) {t("resources.description")}</div>
|
||||
<div className="upload-resource-container" onClick={() => handleUploadFileBtnClick()}>
|
||||
<div className="upload-resource-btn">
|
||||
<Icon.File className="icon-img" />
|
||||
|
|
|
@ -3,7 +3,6 @@ import { useAppSelector } from "../../store";
|
|||
import { VISIBILITY_SELECTOR_ITEMS } from "../../helpers/consts";
|
||||
import useI18n from "../../hooks/useI18n";
|
||||
import Selector from "../common/Selector";
|
||||
import BetaBadge from "../BetaBadge";
|
||||
import "../../less/settings/preferences-section.less";
|
||||
|
||||
const localeSelectorItems = [
|
||||
|
@ -53,10 +52,7 @@ const PreferencesSection = () => {
|
|||
<div className="section-container preferences-section-container">
|
||||
<p className="title-text">{t("common.basic")}</p>
|
||||
<label className="form-label selector">
|
||||
<span className="normal-text">
|
||||
{t("common.language")}
|
||||
<BetaBadge className="ml-2" />
|
||||
</span>
|
||||
<span className="normal-text">{t("common.language")}</span>
|
||||
<Selector className="ml-2 w-32" value={setting.locale} dataSource={localeSelectorItems} handleValueChanged={handleLocaleChanged} />
|
||||
</label>
|
||||
<p className="title-text">{t("setting.preference")}</p>
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
> .dialog-content-container {
|
||||
@apply flex flex-col justify-start items-start w-full;
|
||||
|
||||
> .tip-text-container {
|
||||
@apply w-full flex flex-row justify-start items-start border border-yellow-600 rounded px-2 py-1 mb-2 text-yellow-600 bg-yellow-50 text-sm;
|
||||
}
|
||||
|
||||
> .upload-resource-container {
|
||||
@apply mt-2 mb-4 py-8 cursor-pointer w-full rounded flex flex-row justify-center items-center bg-blue-50 border border-blue-600 hover:opacity-80;
|
||||
|
||||
|
|
Loading…
Reference in a new issue