소스 검색

💄style: Align ChannelsTable column selector modal style with LogsTable

* Removed `size="middle"` and `centered` props from the column-selector
  `Modal` in `ChannelsTable.js` to match the visual style used in
  `LogsTable`.
* Re-added `size="middle"` to the main `Table` component to preserve the
  original table sizing.
* Ensures consistent UI/UX across both channel and log column settings
  modals.
Apple\Apple 6 달 전
부모
커밋
0389e76af5
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      web/src/components/table/ChannelsTable.js

+ 1 - 6
web/src/components/table/ChannelsTable.js

@@ -52,7 +52,6 @@ import {
 import EditChannel from '../../pages/Channel/EditChannel.js';
 import {
   IconTreeTriangleDown,
-  IconFilter,
   IconPlus,
   IconRefresh,
   IconSetting,
@@ -731,8 +730,6 @@ const ChannelsTable = () => {
             </Button>
           </div>
         }
-        size="middle"
-        centered={true}
       >
         <div style={{ marginBottom: 20 }}>
           <Checkbox
@@ -1616,7 +1613,7 @@ const ChannelsTable = () => {
             <div className="w-full md:w-48">
               <Form.Input
                 field="searchModel"
-                prefix={<IconFilter />}
+                prefix={<IconSearch />}
                 placeholder={t('模型关键字')}
                 className="!rounded-full"
                 showClear
@@ -1825,7 +1822,6 @@ const ChannelsTable = () => {
           </div>
         }
         maskClosable={!isBatchTesting}
-        centered={true}
         className="!rounded-lg"
         size="large"
       >
@@ -1926,7 +1922,6 @@ const ChannelsTable = () => {
                     key: model
                   }))}
                 pagination={false}
-                size="middle"
               />
             </div>
           )}