mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix(mobile): katex render
This commit is contained in:
@@ -115,6 +115,8 @@ const common = {
|
||||
'node_modules/katex/dist/fonts/*.woff2',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'css', 'fonts'))),
|
||||
() => gulp.src([
|
||||
'node_modules/katex/dist/katex.min.js',
|
||||
'node_modules/katex/dist/contrib/mhchem.min.js',
|
||||
'node_modules/marked/marked.min.js',
|
||||
'node_modules/@highlightjs/cdn-assets/highlight.min.js',
|
||||
'node_modules/@isomorphic-git/lightning-fs/dist/lightning-fs.min.js',
|
||||
|
||||
@@ -146,6 +146,16 @@ ion-content {
|
||||
}
|
||||
}
|
||||
|
||||
.latex.initial {
|
||||
@apply pt-1;
|
||||
|
||||
.katex-html {
|
||||
&[aria-hidden="true"] {
|
||||
@apply hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[type='text']:focus, [type='email']:focus, [type='url']:focus,
|
||||
[type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus,
|
||||
[type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus,
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
publishing?
|
||||
path
|
||||
|
||||
(util/file-protocol?)
|
||||
(or (util/file-protocol?) (util/capacitor-new?))
|
||||
(string/replace path "/static/" "./")
|
||||
|
||||
:else
|
||||
|
||||
Reference in New Issue
Block a user