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
39 [repositoryUrl],39 [repositoryUrl],
40 );40 );
41 return (41 return (
42 <div className={cn("space-y-3", className)}>42 <div className={cn("space-y-3", className)} data-image-gallery>
43 {segments.map((segment) => {43 {segments.map((segment) => {
44 if (segment.kind === "markdown") {44 if (segment.kind === "markdown") {
45 return (45 return (