Wrap text in Flask GUI tables fixing long kernelNames

Signed-off-by: coleramos425 <colramos@amd.com>
此提交包含在:
coleramos425
2023-03-21 11:41:13 -05:00
父節點 e2eaebe483
當前提交 a9742915b5
+3 -1
查看文件
@@ -343,6 +343,8 @@ def build_table_chart(
style_cell_conditional=[
{"if": {"column_id": display_columns[0]}, "textAlign": "left"}
],
# style cell
style_cell={"maxWidth": "500px"},
# display style
style_header={
"backgroundColor": "rgb(30, 30, 30)",
@@ -351,7 +353,7 @@ def build_table_chart(
}
if IS_DARK
else {},
style_data={"backgroundColor": "rgb(50, 50, 50)", "color": "white"}
style_data={"backgroundColor": "rgb(50, 50, 50)", "color": "white", "whiteSpace": "normal", "height": "auto"}
if IS_DARK
else {},
style_data_conditional=[