Skip to content

Commit 32b17ec

Browse files
committed
Merge pull request swagger-api#2130 from csmb/overflow-css
Fixes overflow issue for markdown code examples
2 parents 77b1b44 + 81406de commit 32b17ec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/html/css/print.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@
667667
}
668668
.swagger-section .swagger-ui-wrap .markdown pre code {
669669
line-height: 1.6em;
670+
overflow: auto;
670671
}
671672
.swagger-section .swagger-ui-wrap div.gist {
672673
margin: 20px 0 25px 0 !important;

src/main/html/css/screen.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@
667667
}
668668
.swagger-section .swagger-ui-wrap .markdown pre code {
669669
line-height: 1.6em;
670+
overflow: auto;
670671
}
671672
.swagger-section .swagger-ui-wrap div.gist {
672673
margin: 20px 0 25px 0 !important;

0 commit comments

Comments
 (0)