From 1c4ab4bda4269da337a0bbba9219383bb9c91c56 Mon Sep 17 00:00:00 2001 From: ljungster Date: Wed, 27 Apr 2022 14:47:38 -0400 Subject: made dividers better --- .../views/collections/CollectionNoteTakingView.tsx | 19 +++++++++++-------- .../CollectionNoteTakingViewFieldColumn.tsx | 6 +++--- 2 files changed, 14 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 5435650b4..785732659 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -352,7 +352,7 @@ export class CollectionNoteTakingView extends CollectionSubView { //TODO: that isn't the proper width of columns const totalWidth = this.PanelWidth - const dividerWidth = 70 + const dividerWidth = 32 const totaldividerWidth = (n - 1) * dividerWidth const colWidth = (totalWidth - totaldividerWidth) / n const newColXCoords: number[] = [] @@ -362,7 +362,7 @@ export class CollectionNoteTakingView extends CollectionSubView this.onDividerPointerOver(e, i)} key={i} +
+
this.onDividerPointerOver(e, i)} key={i} style={{ - height: "100%", - width: 50, - padding: `0 10 10 0`, - margin: "auto", - backgroundColor: "black" + height: "95%", + width: 12, + borderRight: "4px solid #282828", + borderLeft: "4px solid #282828", + margin: "0px 10px" }} /> +
+ ) } } diff --git a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx index 55cfa3348..1167a0ea8 100644 --- a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx @@ -70,7 +70,7 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component
- style={{ width: this.columnWidth, marginBottom: 10 }}> + style={{ width: this.columnWidth - 20, marginBottom: 10 }}>