Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
391aff3e
Commit
391aff3e
authored
May 13, 2020
by
Himanshu Kapoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert max-width set on mermaid charts
This reverts commit
07f5ccbe
.
parent
a87025cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
app/assets/javascripts/behaviors/markdown/render_mermaid.js
app/assets/javascripts/behaviors/markdown/render_mermaid.js
+1
-1
ee/changelogs/unreleased/37282-mermaid-diagram-scaling-fix.yml
...angelogs/unreleased/37282-mermaid-diagram-scaling-fix.yml
+0
-5
No files found.
app/assets/javascripts/behaviors/markdown/render_mermaid.js
View file @
391aff3e
...
...
@@ -82,7 +82,7 @@ function renderMermaidEl(el) {
return
;
}
svg
.
classList
.
add
(
'
mermaid
'
,
'
mw-100
'
);
svg
.
classList
.
add
(
'
mermaid
'
);
// pre > code > svg
svg
.
closest
(
'
pre
'
).
replaceWith
(
svg
);
...
...
ee/changelogs/unreleased/37282-mermaid-diagram-scaling-fix.yml
deleted
100644 → 0
View file @
a87025cd
---
title
:
Force mermaid diagrams to be scaled to fit within browser window when used in markdown
merge_request
:
25016
author
:
Christopher Stryker
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment