@youtyan/code-viewer 0.1.17 → 0.1.18
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/code-viewer.js +169 -30
- package/package.json +3 -2
- package/web/app.js +489 -211
- package/web/style.css +12 -0
package/web/style.css
CHANGED
|
@@ -2575,6 +2575,18 @@ table.d2h-diff-table tr.gdp-diff-line-target > td:first-child {
|
|
|
2575
2575
|
font-size: 16px;
|
|
2576
2576
|
line-height: 1.75;
|
|
2577
2577
|
}
|
|
2578
|
+
.gdp-html-preview {
|
|
2579
|
+
width: 100%;
|
|
2580
|
+
min-height: min(78vh, 920px);
|
|
2581
|
+
background: var(--bg);
|
|
2582
|
+
}
|
|
2583
|
+
.gdp-html-preview iframe {
|
|
2584
|
+
display: block;
|
|
2585
|
+
width: 100%;
|
|
2586
|
+
min-height: min(78vh, 920px);
|
|
2587
|
+
border: 0;
|
|
2588
|
+
background: #fff;
|
|
2589
|
+
}
|
|
2578
2590
|
.gdp-markdown-layout {
|
|
2579
2591
|
display: grid;
|
|
2580
2592
|
grid-template-columns: 260px minmax(0, 1fr);
|