style: remove side panel borders

This commit is contained in:
JOYCEQL
2026-04-20 23:54:52 +08:00
parent 60fc4fb064
commit 01052153d9
2 changed files with 8 additions and 12 deletions
+3 -7
View File
@@ -34,7 +34,7 @@ const DragHandle = ({ show = true }) => {
if (!show) return null; if (!show) return null;
return ( return (
<PanelResizeHandle className="relative flex w-3 items-center justify-center outline-none group cursor-col-resize"> <PanelResizeHandle className="relative flex w-px items-center justify-center outline-none group cursor-col-resize">
{/* 垂直分割线 - 最底层 */} {/* 垂直分割线 - 最底层 */}
<div <div
className={cn( className={cn(
@@ -308,9 +308,7 @@ export default function Home() {
id="side-panel" id="side-panel"
order={1} order={1}
defaultSize={panelSizes?.[0]} defaultSize={panelSizes?.[0]}
className={cn( className="bg-background"
"bg-background border-r border-border"
)}
> >
<div className="h-full overflow-y-auto"> <div className="h-full overflow-y-auto">
<SidePanel /> <SidePanel />
@@ -327,9 +325,7 @@ export default function Home() {
id="edit-panel" id="edit-panel"
order={2} order={2}
defaultSize={panelSizes?.[1]} defaultSize={panelSizes?.[1]}
className={cn( className="bg-background"
"bg-background border-r border-border"
)}
> >
<div className="h-full"> <div className="h-full">
<EditPanel /> <EditPanel />
+1 -1
View File
@@ -149,7 +149,7 @@ export function SidePanel() {
return ( return (
<motion.div <motion.div
className={cn( className={cn(
"w-[80] border-r overflow-y-auto", "w-[80] overflow-y-auto",
"bg-background border-border" "bg-background border-border"
)} )}
initial={{ x: -100, opacity: 0 }} initial={{ x: -100, opacity: 0 }}