Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(chat-input): apply parsing tag styles without ant-tag (#18779)

Innei4ea744722176
diff --git a/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx b/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx
index 94a34fa18e6..194231dfa54 100644
--- a/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx
+++ b/src/features/ChatInput/Desktop/FilePreview/FileItem/index.tsx
@@ -38,12 +38,6 @@ const styles = createStaticStyles(({ css }) => ({
image: css`
margin-block: 0 !important;
`,
- status: css`
- &.ant-tag {
- padding-inline: 0;
- background: none;
- }
- `,
}));
type FileItemProps = UploadFileItem;
diff --git a/src/features/ChatInput/components/UploadDetail/index.tsx b/src/features/ChatInput/components/UploadDetail/index.tsx
index a5a74c01bad..64bd25adca1 100644
--- a/src/features/ChatInput/components/UploadDetail/index.tsx
+++ b/src/features/ChatInput/components/UploadDetail/index.tsx
@@ -12,10 +12,8 @@ import UploadStatus from './UploadStatus';
const styles = createStaticStyles(({ css }) => ({
status: css`
- &.ant-tag {
- padding-inline: 0;
- background: none;
- }
+ padding-inline: 0;
+ background: none;
`,
}));