Skip to content

Commit c3cf35f

Browse files
committed
Better checkpoint styling
1 parent 07ff490 commit c3cf35f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webview-ui/src/components/chat/checkpoints/CheckpointSaved.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ export const CheckpointSaved = ({ checkpoint, ...props }: CheckpointSavedProps)
4141
<span className="font-semibold">{t("chat:checkpoint.regular")}</span>
4242
{isCurrent && <span className="text-muted">({t("chat:checkpoint.current")})</span>}
4343
</div>
44-
<span className="block w-full h-0 mt-[2px] text-xs border-1 border-t border-blue-400/50"></span>
44+
<span
45+
className="block w-full h-[2px] mt-[2px] text-xs"
46+
style={{
47+
backgroundImage:
48+
"linear-gradient(90deg, rgba(0, 188, 255, .65), rgba(0, 188, 255, .65) 80%, rgba(0, 188, 255, 0) 99%)",
49+
}}></span>
50+
4551
<div className="hidden group-hover:block h-4 -mt-2">
4652
<CheckpointMenu {...props} checkpoint={metadata} />
4753
</div>

0 commit comments

Comments
 (0)