style(agent): 优化工作流页面样式
- 移除工作流卡片标题的自定义颜色样式- 优化 Markdown 渲染容器的样式,确保图片自适应- 调整历史记录项弹出框的样式,使其背景透明无圆角
This commit is contained in:
@ -41,8 +41,9 @@
|
|||||||
<div class="text ellipsis-title" @click="getHistoryInfo(item)">
|
<div class="text ellipsis-title" @click="getHistoryInfo(item)">
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</div>
|
</div>
|
||||||
<a-trigger position="bottom" :auto-fit-position="true" :unmount-on-close="true">
|
<div class="trigger-container">
|
||||||
<SvgIcon size="12" name="svg-more" style="float: right" />
|
<a-trigger position="top" trigger="click" :auto-fit-position="false" :unmount-on-close="true ">
|
||||||
|
<SvgIcon size="12" name="svg-more" class="icon-more" />
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="">
|
<div class="">
|
||||||
<div class="history-item-dropdown">
|
<div class="history-item-dropdown">
|
||||||
@ -70,6 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="right-wap">
|
<div class="right-wap">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|||||||
@ -225,8 +225,19 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.trigger-container {
|
||||||
|
position: relative;
|
||||||
|
.icon-more {
|
||||||
|
display: none;
|
||||||
|
float: right;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--BG-200, #E6E6E8);
|
background: var(--BG-200, #E6E6E8);
|
||||||
|
.trigger-container .icon-more {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user