mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 17:54:20 +01:00
This commit is contained in:
parent
04095ea59a
commit
5f0ba591b2
1 changed files with 2 additions and 1 deletions
|
|
@ -2409,7 +2409,8 @@ data-type="fold" style="cursor:inherit;"><svg style="width: 10px${fold && fold =
|
|||
let marginHeight = 0;
|
||||
if (listItem && !window.siyuan.config.editor.rtl) {
|
||||
const relTempRect = listItem.firstElementChild.getBoundingClientRect();
|
||||
if (relTempRect.right <= rect.right) {
|
||||
// + 1 https://github.com/siyuan-note/siyuan/issues/14211
|
||||
if (relTempRect.right <= rect.right + 1) {
|
||||
rect = relTempRect;
|
||||
space = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue