This commit is contained in:
parent
e0c8f984e9
commit
7631674daf
|
|
@ -33,21 +33,18 @@ def task_history_item(
|
||||||
rx.text(
|
rx.text(
|
||||||
item.description,
|
item.description,
|
||||||
flex=1,
|
flex=1,
|
||||||
height="22px",
|
line_height="20px",
|
||||||
line_height="22px",
|
|
||||||
padding_right="18px",
|
padding_right="18px",
|
||||||
color="var(--prismui-color-2)",
|
color="var(--prismui-color-2)",
|
||||||
text_overflow="ellipsis",
|
text_overflow="ellipsis",
|
||||||
white_space="nowrap",
|
white_space="nowrap",
|
||||||
overflow="hidden",
|
overflow="hidden",
|
||||||
),
|
),
|
||||||
display="flex",
|
|
||||||
align_items="center",
|
align_items="center",
|
||||||
width="100%",
|
width="100%",
|
||||||
margin_bottom="8px",
|
margin_bottom="8px",
|
||||||
),
|
),
|
||||||
width="100%",
|
width="100%",
|
||||||
cursor="pointer",
|
|
||||||
# 点击事件:将指定任务唯一标识设置为当前任务唯一标识
|
# 点击事件:将指定任务唯一标识设置为当前任务唯一标识
|
||||||
on_click=lambda: TaskState.set_task_id(item.id),
|
on_click=lambda: TaskState.set_task_id(item.id),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue