",
"engines": {
diff --git a/src/common/enums/text.ts b/src/common/enums/text.ts
index 919ad8bdd8..a5d387bcc4 100644
--- a/src/common/enums/text.ts
+++ b/src/common/enums/text.ts
@@ -47,7 +47,6 @@ export const TEXT = {
edit: '編輯',
editArticle: '修訂作品',
editCircle: '編輯圍爐',
- editComment: '編輯評論',
editTag: '編輯標籤',
email: '電子信箱',
emptySearchResults: '不好意思,什麼都沒搜到',
@@ -268,7 +267,6 @@ export const TEXT = {
edit: '编辑',
editArticle: '修订作品',
editCircle: '编辑围炉',
- editComment: '编辑评论',
editTag: '编辑标签',
email: '邮箱',
emptySearchResults: '不好意思,什么都没搜到',
@@ -497,7 +495,6 @@ export const TEXT = {
edit: 'Edit',
editArticle: 'Edit',
editCircle: 'Edit',
- editComment: 'Edit',
editTag: 'Edit',
email: 'Email',
emptySearchResults: 'Result not found',
diff --git a/src/common/styles/vendors/tippy.css b/src/common/styles/vendors/tippy.css
index e8dcaf9d0b..d14b2fd657 100644
--- a/src/common/styles/vendors/tippy.css
+++ b/src/common/styles/vendors/tippy.css
@@ -133,7 +133,7 @@
line-height: inherit;
color: inherit;
text-align: center;
- background: var(--color-white);
+ background: transparent;
border-radius: 0;
}
diff --git a/src/components/Comment/DropdownActions/index.tsx b/src/components/Comment/DropdownActions/index.tsx
index 453bbd6a17..bcb220ed48 100644
--- a/src/components/Comment/DropdownActions/index.tsx
+++ b/src/components/Comment/DropdownActions/index.tsx
@@ -240,7 +240,19 @@ const DropdownActions = (props: DropdownActionsProps) => {
type,
commentId: comment.id,
defaultContent: comment.content,
- title: article ? 'editComment' : 'edit',
+ title: article ? (
+
+ ) : (
+
+ ),
},
({ openDialog }) => {
return {
diff --git a/src/components/Editor/Article/extensions/mention/suggestion.ts b/src/components/Editor/Article/extensions/mention/suggestion.ts
index 7c53e67b4b..947e356717 100644
--- a/src/components/Editor/Article/extensions/mention/suggestion.ts
+++ b/src/components/Editor/Article/extensions/mention/suggestion.ts
@@ -69,7 +69,7 @@ export const makeMentionSuggestion = ({
popup = tippy('body', {
getReferenceClientRect: props.clientRect,
- appendTo: () => document.querySelector('#editor') || document.body,
+ appendTo: () => document.body,
content: component.element,
showOnCreate: true,
interactive: true,
diff --git a/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx b/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx
index 9897b0e819..9a6addbd98 100644
--- a/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx
+++ b/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx
@@ -1,4 +1,3 @@
-import { useContext } from 'react'
import { FormattedMessage } from 'react-intl'
import { ReactComponent as Nomad1Background } from '@/public/static/images/badge-nomad1-background.svg'
@@ -11,10 +10,8 @@ import {
CopyToClipboard,
Dialog,
IconArrowLeft16,
- LanguageContext,
useMediaQuery,
} from '~/components'
-import { UserLanguage } from '~/gql/graphql'
import styles from './styles.module.css'
@@ -33,10 +30,7 @@ const BadgeNomadDialogContent = ({
isNested,
goBack,
}: BadgeNomadDialogContentProps) => {
- const { lang } = useContext(LanguageContext)
const isSmUp = useMediaQuery(`(min-width: ${BREAKPOINTS.MD}px)`)
- const campaignLink = process.env.NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK
- const campaignLinkEn = process.env.NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK_EN
return (
<>
@@ -87,52 +81,30 @@ const BadgeNomadDialogContent = ({
{nomadBadgeLevel === 4 ? (
) : nomadBadgeLevel === 3 ? (
) : nomadBadgeLevel === 2 ? (
) : (
)}
-
- (
-
- {chunks}
-
- ),
- }}
- />
-
diff --git a/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css b/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css
index 7dbe67cfbf..3585fb9062 100644
--- a/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css
+++ b/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css
@@ -17,8 +17,3 @@
.title {
margin: var(--spacing-base) 0;
}
-
-.extra {
- margin-top: var(--spacing-base);
- text-decoration-line: underline;
-}