Skip to content

Commit ca7c29f

Browse files
authored
Fix: Add max-width for images in api doc (#17558)
Fixes #17551
1 parent 3923a7d commit ca7c29f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scaladoc/resources/dotty_res/styles/theme/components/api-member.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
margin-block-end: 0;
4343
}
4444

45+
.documentableElement .doc img {
46+
max-width: 100%;
47+
}
48+
4549
.documentableElement .annotations {
4650
display: none;
4751
}

0 commit comments

Comments
 (0)