refactor: style css -> tailwindcss

This commit is contained in:
tao.chen
2026-08-24 18:34:43 +08:00
parent 9ce0b106fa
commit 6b7701852f
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>
)}