Add some spacing between blocks

This commit is contained in:
Jonatan Heyman 2023-01-12 00:57:51 +01:00
parent 15c6cc8523
commit c64deb786e
2 changed files with 3 additions and 2 deletions

View File

@ -188,9 +188,9 @@ const blockLayer = layer({
markers.push(new RectangleMarker(
idx++ % 2 == 0 ? "block-even" : "block-odd",
0,
fromCoordsTop - (view.documentTop - view.documentPadding.top) - 1,
fromCoordsTop - (view.documentTop - view.documentPadding.top) - 1 - 6,
null, // width is set to 100% in CSS
(toCoordsBottom - fromCoordsTop) + 2,
(toCoordsBottom - fromCoordsTop) + 2 + 13,
))
})
return markers

View File

@ -39,6 +39,7 @@ body {
}
.block-start {
height: 12px;
/*background: rgb(0, 0, 0);
height: 2px*/
}