Skip to content

Commit

Permalink
fix: order list block item
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 committed May 27, 2023
1 parent a8643af commit 30cd3f7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,34 @@ async function main() {
appVersion && semver.valid(appVersion) &&
semver.gt(appVersion, '0.9.6')) {
logseq.provideStyle(`
.bullet-container .bullet {
font-size: 1rem;
}
.ls-block[haschild] > div > .block-content-wrapper::before {
left: -13px;
}
.ls-block .ls-block > div > div.items-center::before {
.ls-block .ls-block > div > div.block-control-wrap::before {
right: 16px;
}
.bullet-container.as-order-list {
width: 22px !important;
}
.ls-block.is-order-list[haschild] > div > .block-content-wrapper::before {
left: -15px;
top: 24px;
}
.ls-block .block-children > .ls-block.is-order-list::before {
top: -0.2rem;
}
.ls-block .ls-block.is-order-list > div > div.block-control-wrap::before {
right: 22px;
top: calc(-50% + 0.5rem);
}
`)
}
}
Expand Down

0 comments on commit 30cd3f7

Please sign in to comment.