vantage-md 0.5.9 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/prose.css CHANGED
@@ -169,10 +169,15 @@
169
169
  }
170
170
 
171
171
  /* ── Images ── */
172
+ /* `display` is declared because a consumer on Tailwind gets `display: block`
173
+ from its preflight, and that is what turns a README's badge row into a badge
174
+ column: badges written on adjacent source lines are one paragraph joined by a
175
+ soft break, which GitHub renders as a row. Vertical spacing is the wrapping
176
+ paragraph's, as it is on GitHub — margins here would prise apart the lines of
177
+ any paragraph an image sits inside. */
172
178
  .vantage-prose img {
179
+ display: inline-block;
173
180
  border-radius: 0.5rem;
174
- margin-top: 1rem;
175
- margin-bottom: 1rem;
176
181
  }
177
182
 
178
183
  /* ── Blockquotes ── */
package/dist/react.cjs CHANGED
@@ -2281,7 +2281,7 @@ const MarkdownViewerInner = ({ content, currentPath = "", hash = "", baseUrl = "
2281
2281
  "prose-ol:my-[16px] prose-li:marker:text-slate-900 dark:prose-li:marker:text-slate-300",
2282
2282
  "prose-pre:bg-slate-50 dark:prose-pre:bg-slate-800 prose-pre:border prose-pre:border-slate-200 dark:prose-pre:border-slate-700 prose-pre:p-4 prose-pre:rounded-md prose-pre:text-[85%] prose-pre:leading-[1.45]",
2283
2283
  "prose-a:text-blue-600 dark:prose-a:text-blue-400 prose-a:no-underline hover:prose-a:underline",
2284
- "prose-img:rounded-lg prose-img:my-4",
2284
+ "prose-img:inline-block prose-img:rounded-lg prose-img:my-0",
2285
2285
  "prose-blockquote:border-l-[0.25em] prose-blockquote:border-slate-300 dark:prose-blockquote:border-slate-600 prose-blockquote:pl-4 prose-blockquote:text-slate-600 dark:prose-blockquote:text-slate-400 prose-blockquote:italic",
2286
2286
  "prose-code:before:content-none prose-code:after:content-none",
2287
2287
  "prose-code:bg-slate-100 dark:prose-code:bg-slate-800 prose-code:px-[0.4em] prose-code:py-[0.2em] prose-code:rounded-md prose-code:text-slate-800 dark:prose-code:text-slate-200 prose-code:font-mono prose-code:text-[85%] prose-code:font-normal prose-code:border prose-code:border-slate-200/50 dark:prose-code:border-slate-700/50",