You've already forked SmartisanNote.Remake
修复 修复移动端滚动问题,调整触摸行为以允许垂直滚动
This commit is contained in:
@@ -1999,6 +1999,12 @@ defineExpose({
|
||||
background-size: 100% calc(var(--editor-font-size, 1rem) * var(--editor-line-height, 1.6)); /* var(--editor-font-size) * var(--editor-line-height) */
|
||||
background-repeat: repeat-y;
|
||||
background-position: 0 calc((var(--editor-font-size, 1rem) * var(--editor-line-height, 1.6) - var(--editor-font-size, 1rem)) / 2);
|
||||
touch-action: pan-y;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.editor-content::before {
|
||||
|
||||
Reference in New Issue
Block a user