mirror of
https://github.com/heyman/heynote.git
synced 2025-02-25 14:42:10 +01:00
Add some spacing between blocks
This commit is contained in:
parent
15c6cc8523
commit
c64deb786e
@ -188,9 +188,9 @@ const blockLayer = layer({
|
|||||||
markers.push(new RectangleMarker(
|
markers.push(new RectangleMarker(
|
||||||
idx++ % 2 == 0 ? "block-even" : "block-odd",
|
idx++ % 2 == 0 ? "block-even" : "block-odd",
|
||||||
0,
|
0,
|
||||||
fromCoordsTop - (view.documentTop - view.documentPadding.top) - 1,
|
fromCoordsTop - (view.documentTop - view.documentPadding.top) - 1 - 6,
|
||||||
null, // width is set to 100% in CSS
|
null, // width is set to 100% in CSS
|
||||||
(toCoordsBottom - fromCoordsTop) + 2,
|
(toCoordsBottom - fromCoordsTop) + 2 + 13,
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
return markers
|
return markers
|
||||||
|
@ -39,6 +39,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-start {
|
.block-start {
|
||||||
|
height: 12px;
|
||||||
/*background: rgb(0, 0, 0);
|
/*background: rgb(0, 0, 0);
|
||||||
height: 2px*/
|
height: 2px*/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user