Skip to content

Commit

Permalink
fix mermaid specific css
Browse files Browse the repository at this point in the history
  • Loading branch information
do-me committed Sep 10, 2024
1 parent bd5954c commit 408a4b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
10 changes: 10 additions & 0 deletions docs/mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,13 @@ flowchart TD;
id_feature(["<a href='../feature'>Feature</a>"]) --> id_geopositioning(["<a href='../geopositioning'>Geopositioning</a>"]);
id_feature(["<a href='../feature'>Feature</a>"]) --> id_characteristic(["<a href='../characteristic'>Characteristic</a>"]);
```

<style>
.md-container {
overflow: auto;
}

.mermaid {
width: 5000px;
}
</style>
15 changes: 0 additions & 15 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,18 +291,3 @@ div.doc-contents:not(.first) {
url('../stylesheets/fonts/roboto-mono-v22-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../stylesheets/fonts/roboto-mono-v22-latin-ext_latin-700.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

/* mermaid-specific styles for wide graphs */
.md-container {
overflow: auto;
}

.mermaid {
width: 5000px;
}

/* causes some side effects, fix */
.md-sidebar {
height: unset !important;
top: unset !important;
}

0 comments on commit 408a4b6

Please sign in to comment.