Skip to content

Commit

Permalink
Fix #630
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarijo committed Apr 4, 2024
1 parent 5bd50dd commit 969628c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/widoco/CreateResources.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private static String createOverviewSection(String path, Configuration c, String
}
// add the webvowl diagram, if selected
if (c.isCreateWebVowlVisualization()) {
textToWrite += "<iframe align=\"center\" width=\"100%\" height =\"500px\" src=\"webvowl/index.html\"></iframe> ";
textToWrite += "<iframe src=\"webvowl/index.html\"></iframe> ";
}
textToWrite += "\n";
if(!c.isIncludeAllSectionsInOneDocument()){
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/lode/rec.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ details:hover {
cursor: pointer;
}

iframe {
margin:auto;
display:block;
width:100%;
height:500px;
}

:link { color: var(--link); background: transparent }
:visited { color: var(--link-visited); background: transparent }
a:active { color: var(--link-active); background: transparent }
Expand Down

0 comments on commit 969628c

Please sign in to comment.