@ozdao/scriptorium 0.1.0 → 0.1.1
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/package.json
CHANGED
|
@@ -103,7 +103,12 @@
|
|
|
103
103
|
border-top: 1px solid var(--border-subtle);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
// Блочная: markdown кладёт картинку в <p>, а базовый стиль martyrs
|
|
107
|
+
// `p { text-box: cap alphabetic }` обрезает строку до метрик шрифта — абзац
|
|
108
|
+
// без текста схлопывается до высоты строчной буквы, и строчная картинка
|
|
109
|
+
// ложится поверх соседей. Блок выходит из строки, абзац берёт её высоту.
|
|
106
110
|
img {
|
|
111
|
+
display: block;
|
|
107
112
|
max-width: 100%;
|
|
108
113
|
height: auto;
|
|
109
114
|
}
|