Skip to content

Commit

Permalink
Issue checkstyle#7301: fix source display for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jo2 committed Dec 10, 2019
1 parent 2fa10cd commit 4328a5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/site/resources/css/site.css
Expand Up @@ -54,12 +54,13 @@ h2:hover .anchor, h3:hover .anchor {
.source {
white-space: nowrap;
padding: 0;
overflow-x: auto;
}

.source > pre {
margin: 0;
padding: 12px;
overflow-x: auto;
width: max-content;
}

.wrap-content pre {
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/writingjavadocchecks.xml.vm
Expand Up @@ -752,7 +752,7 @@ Checkstyle ends with 5 errors.
Now you can see parsed javadoc tree as child of comment block.
</p>
<p>
<span class="wrapper">
<span class="wrapper block">
<img alt="screenshot" src="images/gui_javadoc_screenshot.png"/>
</span>
</p>
Expand Down

0 comments on commit 4328a5e

Please sign in to comment.