Skip to content

Commit 8816b09

Browse files
committed
Fix formatting for snack link
1 parent b6e1a49 commit 8816b09

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

src/components/Pre.js

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -230,25 +230,27 @@ export default function Pre({
230230
target="_blank"
231231
href={url.href}
232232
>
233-
Try on <b>Snack</b>
234-
<svg
235-
width="14px"
236-
height="14px"
237-
viewBox="0 0 16 16"
238-
style={{ verticalAlign: '-1px' }}
239-
>
240-
<g stroke="none" strokeWidth="1" fill="none">
241-
<polyline
242-
stroke="currentColor"
243-
points="8.5 0.5 15.5 0.5 15.5 7.5"
244-
/>
245-
<path d="M8,8 L15.0710678,0.928932188" stroke="currentColor" />
246-
<polyline
247-
stroke="currentColor"
248-
points="9.06944444 3.5 1.5 3.5 1.5 14.5 12.5 14.5 12.5 6.93055556"
249-
/>
250-
</g>
251-
</svg>
233+
<span>
234+
Try on <b>Snack</b>
235+
<svg
236+
width="14px"
237+
height="14px"
238+
viewBox="0 0 16 16"
239+
style={{ verticalAlign: '-1px' }}
240+
>
241+
<g stroke="none" strokeWidth="1" fill="none">
242+
<polyline
243+
stroke="currentColor"
244+
points="8.5 0.5 15.5 0.5 15.5 7.5"
245+
/>
246+
<path d="M8,8 L15.0710678,0.928932188" stroke="currentColor" />
247+
<polyline
248+
stroke="currentColor"
249+
points="9.06944444 3.5 1.5 3.5 1.5 14.5 12.5 14.5 12.5 6.93055556"
250+
/>
251+
</g>
252+
</svg>
253+
</span>
252254
</a>
253255
);
254256
}

0 commit comments

Comments
 (0)