fix(nc-gui): date, year cell content truncate issue

This commit is contained in:
Ramesh Mane
2025-01-28 13:18:32 +00:00
parent ccb52c14be
commit 39e6f9b832
6 changed files with 24 additions and 42 deletions

View File

@@ -0,0 +1,16 @@
import { timeFormats } from 'nocodb-sdk'
export const timeCellMaxWidthMap = {
[timeFormats[0]]: {
12: 'max-w-[85px]',
24: 'max-w-[65px]',
},
[timeFormats[1]]: {
12: 'max-w-[100px]',
24: 'max-w-[80px]',
},
[timeFormats[2]]: {
12: 'max-w-[130px]',
24: 'max-w-[110px]',
},
}