Skip to content

Commit af5eb2b

Browse files
authored
Merge pull request #6421 from NomicFoundation/fix/mermaid-centering-v3
Fix for mermaid centering on v3. Resolves #6409.
1 parent f7a8f34 commit af5eb2b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/slow-lobsters-watch.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nomicfoundation/ignition-ui": patch
3+
---
4+
5+
Fix for mermaid diagram centering in visalization report [#6409](https://github.com/NomicFoundation/hardhat/issues/6409).

v-next/hardhat-ignition-ui/src/main.css

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ span.future-to-module-arrow {
6464
.mermaid svg {
6565
height: 100%;
6666
vertical-align: middle;
67+
max-width: unset !important;
6768
}
6869

6970
.mermaid span {

0 commit comments

Comments
 (0)