From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/base/notion-icon/index.tsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/app/components/base/notion-icon/index.tsx b/app/components/base/notion-icon/index.tsx
index 75fea8c..273d90c 100644
--- a/app/components/base/notion-icon/index.tsx
+++ b/app/components/base/notion-icon/index.tsx
@@ -1,4 +1,4 @@
-import { RiFileTextLine } from '@remixicon/react'
+import s from './index.module.css'
 import cn from '@/utils/classnames'
 import type { DataSourceNotionPage } from '@/models/common'
 
@@ -22,16 +22,16 @@
           <img
             alt='workspace icon'
             src={src}
-            className={cn('block h-5 w-5 object-cover', className)}
+            className={cn('block object-cover w-5 h-5', className)}
           />
         )
       }
       return (
-        <div className={cn('flex h-5 w-5 items-center justify-center', className)}>{src}</div>
+        <div className={cn('flex items-center justify-center w-5 h-5', className)}>{src}</div>
       )
     }
     return (
-      <div className={cn('flex h-5 w-5 items-center justify-center rounded bg-gray-200 text-xs font-medium text-gray-500', className)}>{name?.[0].toLocaleUpperCase()}</div>
+      <div className={cn('flex items-center justify-center w-5 h-5 bg-gray-200 text-xs font-medium text-gray-500 rounded', className)}>{name?.[0].toLocaleUpperCase()}</div>
     )
   }
 
@@ -41,17 +41,17 @@
         <img
           alt='page icon'
           src={src.url || ''}
-          className={cn('block h-5 w-5 object-cover', className)}
+          className={cn('block object-cover w-5 h-5', className)}
         />
       )
     }
     return (
-      <div className={cn('flex h-5 w-5 items-center justify-center', className)}>{src?.emoji}</div>
+      <div className={cn('flex items-center justify-center w-5 h-5', className)}>{src?.emoji}</div>
     )
   }
 
   return (
-    <RiFileTextLine className={cn('h-5 w-5 text-text-tertiary', className)} />
+    <div className={cn(s['default-page-icon'], className)} />
   )
 }
 

--
Gitblit v1.8.0