aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.tsx19
1 files changed, 11 insertions, 8 deletions
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<Partial<collecti
resizeColumns = (n: number) => {
//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<Partial<collecti
colStart += colWidth + dividerWidth
}
this.columnStartXCoords = newColXCoords
- console.log(newColXCoords)
+ // console.log(newColXCoords)
}
// TODO: This is where you want to create a copy of the document to take its place
@@ -659,15 +659,18 @@ export class CollectionNoteTakingView extends CollectionSubView<Partial<collecti
//TODO make this look pretty
if (i < sections.length - 1) {
eles.push(
- <div className="columnDivider" onPointerOver={e => this.onDividerPointerOver(e, i)} key={i}
+ <div style={{display: "flex", alignItems: "center", cursor: "col-resize"}}>
+ <div className="columnDivider" onPointerOver={e => 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"
}}
/>
+ </div>
+
)
}
}