mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: math mode brackets render incorrectly
fixes https://github.com/logseq/db-test/issues/447
This commit is contained in:
@@ -2500,7 +2500,8 @@
|
||||
|
||||
;; TODO: switched to https://cortexjs.io/mathlive/ for editing
|
||||
(= :math node-display-type)
|
||||
(latex/latex (:block/title block) true false)
|
||||
[:div.math-block
|
||||
(latex/latex (:block/title block) true true)]
|
||||
|
||||
(seq (:logseq.property/_query block'))
|
||||
(query-builder-component/builder block' {})
|
||||
|
||||
@@ -1044,6 +1044,17 @@ html.is-mac {
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.katex svg {
|
||||
width: initial;
|
||||
height: initial;
|
||||
}
|
||||
.math-block {
|
||||
@apply w-full;
|
||||
.latex {
|
||||
@apply w-full;
|
||||
}
|
||||
}
|
||||
|
||||
.ls-small-icon svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
|
||||
Reference in New Issue
Block a user