Skip to content

Commit

Permalink
finish drawer page styling
Browse files Browse the repository at this point in the history
  • Loading branch information
issam-seghir committed Nov 28, 2023
1 parent 6d0b311 commit 3e3ff6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/jsx/pages/Drawer.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConnectorEditing, DiagramComponent, DiagramTools, Inject, PortConstraints, PortVisibility, PrintAndExport, SnapConstraints, Snapping, UndoRedo } from "@syncfusion/ej2-react-diagrams";
import { ConnectorEditing, DiagramComponent, DiagramTools,DiagramContextMenu, Inject, PortConstraints, PortVisibility, PrintAndExport, SnapConstraints, Snapping, UndoRedo } from "@syncfusion/ej2-react-diagrams";
import * as React from "react";

let shape = [
Expand Down Expand Up @@ -335,7 +335,7 @@ function DrawingTools() {
}}
contextMenuSettings={{ show: true }}
/>
<Inject services={[UndoRedo, Snapping, ConnectorEditing, PrintAndExport]} />
<Inject services={[UndoRedo, Snapping, ConnectorEditing, PrintAndExport, DiagramContextMenu]} />
</div>
</div>

Expand Down
9 changes: 5 additions & 4 deletions src/scss/utilities/_syncfusion-diagram.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ border-radius: 1rem !important;
}

.e-diagram .e-diagram-text-edit {
background: white !important;
border-color: red !important;
background: var(--joy-palette-primary-softBg) !important;
border-color: var(--joy-palette-primary-softColor) !important;
border-style: dashed;
border-width: 1px;
box-sizing: content-box;
color: black;
min-width: 50px;
color: var(--joy-palette-primary-softColor) !important;
font-size: var(--text-xl3);
min-width: 100px;
}

0 comments on commit 3e3ff6d

Please sign in to comment.