Skip to content

Commit 1ccec8b

Browse files
committed
Merge pull request facebook#5946 from tjfryan/fix-docs-css
Fixes highlight issue for code blocks with overflow (css)
2 parents 188e8cd + cded0c5 commit 1ccec8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/css/react.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ p a code {
743743
margin-bottom: 0;
744744
background-color: transparent;
745745
border: 0;
746+
float: left;
747+
min-width: 100%;
746748
}
747749

748750
.highlight pre code {

0 commit comments

Comments
 (0)