From 3a64511eaac77a4677d0ecf41c65af6b56ea7978 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 25 七月 2024 11:15:56 +0800 Subject: [PATCH] 表格自适应 --- src/components/chat/chatComponents/summaryCom/components/deviceLastValue/constants.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/chat/chatComponents/summaryCom/components/deviceLastValue/constants.ts b/src/components/chat/chatComponents/summaryCom/components/deviceLastValue/constants.ts index 21df7d2..a312f58 100644 --- a/src/components/chat/chatComponents/summaryCom/components/deviceLastValue/constants.ts +++ b/src/components/chat/chatComponents/summaryCom/components/deviceLastValue/constants.ts @@ -1,13 +1,18 @@ export const CONTENT_CELL_CLASS = 'bg-white flex-center flex-0 text-[#7331a5] cursor-pointer'; export const ROW_HEADER_CELL_CLASS = 'bg-white flex-center flex-0'; +export const ROW_HEADER_CELL_MAX_WIDTH = 198; export const COL_HEADER_CELL_CLASS = 'font-bold flex-center flex-0'; export const COL_HEADER_CELL_BG_COLOR = '#c5d9f1' -export const CELL_WIDTH = 198; +export const CELL_MAX_WIDTH = 198; export const CELL_HEIGHT = 32; export const THIN_BORDER_WIDTH = 1; export const THICK_BORDER_WIDTH = 2; -export const PAGE_HEIGHT = 54; +export const PAGE_HEIGHT = 39; export const rowCount = 5; -export const BORDER_COLOR = '#90b6e2'; \ No newline at end of file +export const BORDER_COLOR = '#90b6e2'; + + +export const FIRST_COL_MAX_OFFSET = 4; +export const REST_COL_MAX_OFFSET = 4; \ No newline at end of file -- Gitblit v1.9.3