فهرست منبع

💄 style(LogsTable): set minimum width for log type selector

- Add min-w-[120px] class to Form.Select component for log type filtering
- Remove redundant min-width constraint from parent div container
- Ensure consistent dropdown width across different screen sizes
- Improve UI consistency and readability for log type selection
Apple\Apple 9 ماه پیش
والد
کامیت
cf967d39ea
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      web/src/components/table/LogsTable.js

+ 3 - 3
web/src/components/table/LogsTable.js

@@ -1294,11 +1294,11 @@ const LogsTable = () => {
                 {/* 操作按钮区域 */}
                 <div className='flex flex-col sm:flex-row justify-between items-start sm:items-center gap-3'>
                   {/* 日志类型选择器 */}
-                  <div className='w-full sm:w-auto min-w-[140px]'>
+                  <div className='w-full sm:w-auto'>
                     <Form.Select
                       field='logType'
                       placeholder={t('日志类型')}
-                      className='!rounded-full w-full sm:w-auto'
+                      className='!rounded-full w-full sm:w-auto min-w-[120px]'
                       showClear
                       pure
                       onChange={() => {
@@ -1316,7 +1316,7 @@ const LogsTable = () => {
                       <Form.Select.Option value='5'>{t('错误')}</Form.Select.Option>
                     </Form.Select>
                   </div>
-                  
+
                   <div className='flex gap-2 w-full sm:w-auto justify-end'>
                     <Button
                       type='primary'