Closed myselfghost closed 1 year ago
大屏设计在线最新版
大屏设计,使用表格。当某个表格的文字内容较多,表格宽度不够的时候,普通表格显示异常(轮播表格可以自动省略不显示多余的文字)
下面是普通表格,显示异常
下面是轮播表格,显示正常,会自动显示成“...”
[ { "status": "firing", "labels": "", "annotations": "", "fingerprint": "", "startsAt": "2022-07-05 14:40:00", "endsAt": "0", "createdtime": "", "updatedtime": "", "alertname": "云数据库-MySQL-主机监控", "instance": "cdb-ssekqem2pe(实例名:xxxxxxx,IP地址:11.111.111.111:3306),实例类型:master", "alertsource": "", "idc": "tencent-cloud", "system": "", "service": "", "environment": "", "level": "warn", "instanceid": "", "instancename": "", "ostype": "", "description": "CPU利用率 \u003e 90 % (currentValue: 100 %)" }, { "status": "resolved", "labels": "", "annotations": "", "fingerprint": "", "startsAt": "2022-07-05 12:46:09", "endsAt": "2022-07-05 12:46:49", "createdtime": "", "updatedtime": "", "alertname": "WindowsServerMemoryUsage", "instance": "1.1.1.1:9100", "alertsource": "", "idc": "geely", "system": "", "service": "", "environment": "", "level": "warn", "instanceid": "", "ostype": "" }]
普通表格剩余内容不显示
注意下面图片的4,5,6行,溢出的文字会导致整行的其他字段显示不出来,实际上4,5,6行没显示的字段是有字符串的。
@lvdandan16
能不能麻烦解决下普通表格样式异常的问题 "style", "overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"
收录 sq
版本号:
大屏设计在线最新版
问题描述:
大屏设计,使用表格。当某个表格的文字内容较多,表格宽度不够的时候,普通表格显示异常(轮播表格可以自动省略不显示多余的文字)
错误日志&截图:
下面是普通表格,显示异常
下面是轮播表格,显示正常,会自动显示成“...”
数据: