Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Fix header border getting cut off (#1023)

1ilit02e67054722b
diff --git a/src/components/EditorHeader/ControlPanel.jsx b/src/components/EditorHeader/ControlPanel.jsx
index 202a92b9..b9175a33 100644
--- a/src/components/EditorHeader/ControlPanel.jsx
+++ b/src/components/EditorHeader/ControlPanel.jsx
@@ -1577,14 +1577,14 @@ export default function ControlPanel({
<div>
{layout.header && (
<div
- className="flex justify-between items-center me-7 border-b border-color pb-2"
+ className="flex justify-between items-center border-b border-color pb-2"
style={isRtl(i18n.language) ? { direction: "rtl" } : {}}
>
{header()}
{!isTemplate && (
<Button
type="primary"
- className="!text-base me-2 !pe-6 !ps-5 !py-[18px] !rounded-md"
+ className="!text-base me-8 !pe-6 !ps-5 !py-[18px] !rounded-md"
size="default"
icon={<IconShareStroked />}
onClick={() => setModal(MODAL.SHARE)}
diff --git a/src/components/EditorSidePanel/SidePanel.jsx b/src/components/EditorSidePanel/SidePanel.jsx
index 6c5a95c9..4f145bb4 100644
--- a/src/components/EditorSidePanel/SidePanel.jsx
+++ b/src/components/EditorSidePanel/SidePanel.jsx
@@ -173,7 +173,7 @@ export default function SidePanel({ width, resize, setResize }) {
)}
</div>
<div
- className={`group relative h-full w-0.5 cursor-col-resize flex justify-center ${settings.mode === "dark" ? "bg-zinc-700" : "bg-zinc-200"}`}
+ className={`group relative h-full w-0.5 cursor-col-resize flex justify-center ${settings.mode === "dark" ? "bg-zinc-800" : "bg-zinc-100"}`}
onPointerDown={(e) => e.isPrimary && setResize(true)}
>
<div