Skip to content

Commit 30cd3f7

Browse files
committed
fix: order list block item
1 parent a8643af commit 30cd3f7

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/main.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,34 @@ async function main() {
9292
appVersion && semver.valid(appVersion) &&
9393
semver.gt(appVersion, '0.9.6')) {
9494
logseq.provideStyle(`
95+
.bullet-container .bullet {
96+
font-size: 1rem;
97+
}
9598
.ls-block[haschild] > div > .block-content-wrapper::before {
9699
left: -13px;
97100
}
98101
99-
.ls-block .ls-block > div > div.items-center::before {
102+
.ls-block .ls-block > div > div.block-control-wrap::before {
100103
right: 16px;
101104
}
102105
103106
.bullet-container.as-order-list {
104107
width: 22px !important;
105108
}
109+
110+
.ls-block.is-order-list[haschild] > div > .block-content-wrapper::before {
111+
left: -15px;
112+
top: 24px;
113+
}
114+
115+
.ls-block .block-children > .ls-block.is-order-list::before {
116+
top: -0.2rem;
117+
}
118+
119+
.ls-block .ls-block.is-order-list > div > div.block-control-wrap::before {
120+
right: 22px;
121+
top: calc(-50% + 0.5rem);
122+
}
106123
`)
107124
}
108125
}

0 commit comments

Comments
 (0)