We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54afc3 commit c8d667eCopy full SHA for c8d667e
preview-vertical.css
@@ -1,3 +1,10 @@
1
.view-content > div > .markdown-preview-view > .markdown-preview-sizer.markdown-preview-section {
2
- transform: translateY(clamp(0px, calc(50vh - 25%), 100%));
+ /*
3
+ goal: short notes midpoint at 40vh
4
+ bottom: pushes up 20vh
5
+ content: ~20vh for short note
6
+ push down: 40 + 20 - (20/2) = 50
7
+ */
8
+ padding-bottom: 20vh !important;
9
+ transform: translateY(clamp(0px, calc(50vh - 50%), 40vh));
10
}
0 commit comments