mirror of https://github.com/logseq/logseq
fix: align block content for ordered items and unordered items
parent
6689d886d7
commit
a842b7de72
|
@ -1738,7 +1738,7 @@
|
||||||
order-list? (boolean own-number-list?)
|
order-list? (boolean own-number-list?)
|
||||||
order-list-idx (:own-order-list-index config)
|
order-list-idx (:own-order-list-index config)
|
||||||
collapsable? (editor-handler/collapsable? uuid {:semantic? true})]
|
collapsable? (editor-handler/collapsable? uuid {:semantic? true})]
|
||||||
[:div.block-control-wrap.mr-1.flex.flex-row.items-center.sm:mr-2
|
[:div.block-control-wrap.flex.flex-row.items-center
|
||||||
{:class (util/classnames [{:is-order-list order-list?
|
{:class (util/classnames [{:is-order-list order-list?
|
||||||
:bullet-closed collapsed?}])}
|
:bullet-closed collapsed?}])}
|
||||||
(when (or (not fold-button-right?) collapsable?)
|
(when (or (not fold-button-right?) collapsable?)
|
||||||
|
|
|
@ -202,6 +202,7 @@
|
||||||
|
|
||||||
.block-control-wrap {
|
.block-control-wrap {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
min-width: 50px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
||||||
&.is-order-list {
|
&.is-order-list {
|
||||||
|
@ -531,7 +532,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.as-order-list {
|
&.as-order-list {
|
||||||
@apply w-[28px] whitespace-nowrap justify-start pl-[4px];
|
@apply w-[28px] whitespace-nowrap justify-start pl-[3px];
|
||||||
}
|
}
|
||||||
|
|
||||||
.bullet {
|
.bullet {
|
||||||
|
|
Loading…
Reference in New Issue