reviw 0.15.2 → 0.15.3
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/cli.cjs +6 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -2252,10 +2252,10 @@ function htmlTemplate(dataRows, cols, projectRoot, relativePath, mode, previewHt
|
|
|
2252
2252
|
.md-preview video.video-preview { max-width: 100%; height: auto; border-radius: 8px; background: #000; }
|
|
2253
2253
|
.md-preview table video.video-preview {
|
|
2254
2254
|
display: block;
|
|
2255
|
-
width:
|
|
2255
|
+
width: 100%;
|
|
2256
2256
|
height: auto;
|
|
2257
|
-
|
|
2258
|
-
max-
|
|
2257
|
+
min-width: 120px;
|
|
2258
|
+
max-width: 250px;
|
|
2259
2259
|
}
|
|
2260
2260
|
.md-preview code { background: rgba(255,255,255,0.08); padding: 2px 4px; border-radius: 4px; }
|
|
2261
2261
|
.md-preview pre {
|
|
@@ -2383,7 +2383,7 @@ function htmlTemplate(dataRows, cols, projectRoot, relativePath, mode, previewHt
|
|
|
2383
2383
|
}
|
|
2384
2384
|
/* Markdown tables in preview */
|
|
2385
2385
|
.md-preview table:not(.frontmatter-table table) {
|
|
2386
|
-
width:
|
|
2386
|
+
width: 100%;
|
|
2387
2387
|
border-collapse: collapse;
|
|
2388
2388
|
table-layout: auto;
|
|
2389
2389
|
margin: 16px 0;
|
|
@@ -2396,12 +2396,11 @@ function htmlTemplate(dataRows, cols, projectRoot, relativePath, mode, previewHt
|
|
|
2396
2396
|
text-align: left;
|
|
2397
2397
|
border-bottom: 1px solid var(--border);
|
|
2398
2398
|
vertical-align: top;
|
|
2399
|
-
white-space: nowrap;
|
|
2400
2399
|
}
|
|
2401
2400
|
.md-preview table:not(.frontmatter-table table) td:has(video),
|
|
2402
2401
|
.md-preview table:not(.frontmatter-table table) td:has(img) {
|
|
2403
|
-
padding:
|
|
2404
|
-
width:
|
|
2402
|
+
padding: 4px;
|
|
2403
|
+
min-width: 150px;
|
|
2405
2404
|
white-space: nowrap;
|
|
2406
2405
|
line-height: 0;
|
|
2407
2406
|
}
|