Skip to content

Commit e683bb4

Browse files
simonhampclaude
andcommitted
Change prose image width from fixed to max-width
Replace w-full (width: 100%) with max-w-full (max-width: 100%) on images inside .prose paragraphs so images retain their intrinsic size when smaller than the container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6a60765 commit e683bb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/css/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ nav.docs-navigation li:has(.third-tier .exact-active) > .subsection-header {
275275
}
276276

277277
.prose p:has(img) img {
278-
@apply inline-block w-full rounded-none shadow-none;
278+
@apply inline-block max-w-full rounded-none shadow-none;
279279
}
280280

281281
/*

0 commit comments

Comments
 (0)