mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-06-01 23:38:48 +02:00
style: remove side panel borders
This commit is contained in:
@@ -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 />
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user