History

fix(web): navigate markdown images as galleries (#10625)

maria committed 2 months ago

Commit 6df0add1 parent 5a18fb95 files · +107 −40Browse files

Showing the changes to apps/web/src/components/pullRequest (1 of 5 files). Show all

Unified · Split

apps/web/src/components/pullRequest/PullRequestMarkdown.tsx+1−1
@@ -39,7 +39,7 @@ export function PullRequestMarkdown({ · 38 unmodified lines
3939 [repositoryUrl],
4040 );
4141 return (
42− <div className={cn("space-y-3", className)}>
42+ <div className={cn("space-y-3", className)} data-image-gallery>
4343 {segments.map((segment) => {
4444 if (segment.kind === "markdown") {
4545 return (