Disable (over)scroll "bouncing"

This commit is contained in:
Jonatan Heyman 2022-12-31 12:20:21 +01:00
parent 8c059dc4be
commit 866c2fd30f
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ body {
font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif;
height: 100%;
font-size: 13px;
overscroll-behavior-y: none;
}
#editor {

View File

@ -13,8 +13,8 @@ export const heynoteLight = EditorView.theme({
borderLeftColor: '#000',
},
'.cm-gutters': {
backgroundColor: 'rgba(0,0,0, 0.03)',
//backgroundColor: 'transparent',
//backgroundColor: 'rgba(0,0,0, 0.03)',
color: 'rgba(0,0,0, 0.25)',
border: 'none',
},