@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/scriptorium",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Documentation site generator on @ozdao/martyrs: markdown folders to an SSR site",
5
5
  "author": "OZ DAO <hello@ozdao.com>",
6
6
  "license": "GPL-3.0-or-later",
@@ -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
  }