feat: yaml editor

This commit is contained in:
jialin
2025-10-13 14:40:26 +08:00
parent e863b84016
commit 54703c67c1
48 changed files with 2062 additions and 246 deletions
+3
View File
@@ -48,6 +48,7 @@ const SegmentedQwrapper = styled.div<{ $height: number }>`
border-radius: 2px;
bottom: 0px;
top: unset;
opacity: 1;
}
}
.ant-segmented-item-selected {
@@ -55,6 +56,7 @@ const SegmentedQwrapper = styled.div<{ $height: number }>`
color: var(--color-white-primary);
&::after {
height: 2px;
opacity: 1;
}
}
}
@@ -68,6 +70,7 @@ const SegmentLine: React.FC<SegmentLineProps> = (props) => {
className = 'segment-line',
...rest
} = props;
return (
<SegmentedQwrapper $height={height}>
<Segmented