refactor: style css -> tailwindcss

This commit is contained in:
tao.chen
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent c6e931d1bc
commit b2870fb568
9 changed files with 475 additions and 2142 deletions
@@ -8,15 +8,19 @@ export function ScheduleCanvasHeader({
onCancelLink: () => void;
}) {
return (
<div className="schedule-canvas-title">
<div>
<strong></strong>
<span>
<div className="flex min-h-[53px] items-center justify-between border-b border-[#e4eaf0] px-3">
<div className="flex min-w-0 flex-col gap-[3px]">
<strong className="text-[14px] text-ink"></strong>
<span className="hidden truncate text-[10px] text-[#93a0ae] 2xl:block">
线
</span>
</div>
{linkSourceId && (
<button type="button" onClick={onCancelLink}>
<button
className="inline-flex min-h-[28px] cursor-pointer items-center justify-center gap-[5px] rounded-[6px] border border-[#dce5ee] bg-white px-3 text-[12px] font-semibold text-[#b25a4f] hover:border-[#aac6e5] hover:bg-[#f6faff] hover:text-[#126aca]"
type="button"
onClick={onCancelLink}
>
线
</button>
)}