Skip to content

Commit

Permalink
style: update mermaid style for pre
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Feb 25, 2025
1 parent 1ab6dae commit 9dc7efb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/oeyoews/mermaid/tiddlers/zoomMermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const zoomMermaid = () => {
};

container.style.cursor = 'grab';
container.style.overflow = 'hidden';
container.addEventListener('contextmenu', (e) => {
e.stopPropagation();
e.preventDefault();
Expand Down
7 changes: 6 additions & 1 deletion themes/nico/notebook/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,12 @@ span.tc-icon-wrapper {
margin: 2px 0 2px 4px !important;
}

pre {
/* pre {
max-height: 50vh;
overflow-y: auto;
} */

pre:not(:has(svg)) {
max-height: 50vh;
overflow-y: auto;
}
Expand Down

0 comments on commit 9dc7efb

Please sign in to comment.