From 6044190ab1daa47d7f04466c23b09e651946cd0d Mon Sep 17 00:00:00 2001 From: dannyrb Date: Thu, 14 May 2020 22:55:17 -0400 Subject: [PATCH] Fine tune grid spacing --- extensions/default/src/ViewerLayout/index.jsx | 12 +- .../components/ViewportPane/ViewportPane.jsx | 2 +- platform/ui/src/views/Viewer/Viewer.mdx | 201 +++++++++--------- 3 files changed, 107 insertions(+), 108 deletions(-) diff --git a/extensions/default/src/ViewerLayout/index.jsx b/extensions/default/src/ViewerLayout/index.jsx index e48610f8e..37f03ba51 100644 --- a/extensions/default/src/ViewerLayout/index.jsx +++ b/extensions/default/src/ViewerLayout/index.jsx @@ -57,23 +57,23 @@ function ViewerLayout({ moreTools={primaryToolBarLayout.moreTools} />
+ {/* LEFT SIDEPANELS */} -
+ {/* TOOLBAR + GRID */} +
-
+
- {/* -
-
-
- - ) - }} - /> - {/* TOOLBAR + GRID */} -
-
- -
- {/* VIEWPORT GRID CONTAINER */} -
- - {[0, 1].map(viewportIndex => ( - {}}> - alert(`Series ${direction}`)} - studyData={{ - label: 'A', - isTracked: true, - isLocked: false, - studyDate: '07-Sep-2011', - currentSeries: 1, - seriesDescription: - 'Series description lorem ipsum dolor sit Series description lorem ipsum dolor sit Series description lorem ipsum dolor sit ', - modality: 'CT', - patientInformation: { - patientName: 'Smith, Jane', - patientSex: 'F', - patientAge: '59', - MRN: '10000001', - thickness: '5.0mm', - spacing: '1.25mm', - scanner: 'Aquilion', - }, - }} - > -
- CONTENT -
-
-
) - )} -
-
+
+
+ {/* LEFT SIDEPANELS */} + + ) + }} + /> + {/* TOOLBAR + GRID */} +
+
+
- - alert('Export')}> - - - - - + {/* VIEWPORT GRID CONTAINER */} +
+ + {[0, 1].map(viewportIndex => ( + {}}> + alert(`Series ${direction}`)} + studyData={{ + label: 'A', + isTracked: true, + isLocked: false, + studyDate: '07-Sep-2011', + currentSeries: 1, + seriesDescription: + 'Series description lorem ipsum dolor sit Series description lorem ipsum dolor sit Series description lorem ipsum dolor sit ', + modality: 'CT', + patientInformation: { + patientName: 'Smith, Jane', + patientSex: 'F', + patientAge: '59', + MRN: '10000001', + thickness: '5.0mm', + spacing: '1.25mm', + scanner: 'Aquilion', + }, + }} + > +
+ CONTENT +
+
+
) + )} +
+
+
+ + alert('Export')}> - - } - /> - ) - }} - /> -
+ + + + + + + } + /> + ) + }} + />
);