mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
Merge remote-tracking branch 'origin/stable'
This commit is contained in:
@@ -38,7 +38,7 @@ const TPL = `
|
||||
|
||||
<tr>
|
||||
<th>Build revision:</th>
|
||||
<td><a href="" class="external" target="_blank" class="build-revision"></a></td>
|
||||
<td><a href="" class="build-revision external" target="_blank"></a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@@ -61,7 +61,7 @@ export default class MermaidWidget extends NoteContextAwareWidget {
|
||||
gantt: { useMaxWidth: false },
|
||||
"class": { useMaxWidth: false },
|
||||
state: { useMaxWidth: false },
|
||||
pie: { useMaxWidth: false },
|
||||
pie: { useMaxWidth: true },
|
||||
journey: { useMaxWidth: false },
|
||||
git: { useMaxWidth: false },
|
||||
});
|
||||
|
||||
@@ -152,7 +152,9 @@ export default class TocWidget extends CollapsibleWidget {
|
||||
//
|
||||
// Create the list item and set up the click callback
|
||||
//
|
||||
const $li = $('<li style="cursor:pointer">' + m[2] + '</li>');
|
||||
|
||||
const headingText = $("<div>").html(m[2]).text();
|
||||
const $li = $('<li style="cursor:pointer">').text(headingText);
|
||||
// XXX Do this with CSS? How to inject CSS in doRender?
|
||||
$li.hover(function () {
|
||||
$(this).css("font-weight", "bold");
|
||||
|
||||
Reference in New Issue
Block a user