@brett_lamy/docstream 0.6.2 → 0.6.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.css +10 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brett_lamy/docstream",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "GitBook-aware readonly markdown and AI stream renderer.",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/src/styles.css CHANGED
@@ -81,16 +81,7 @@
81
81
  }
82
82
 
83
83
  :is([data-docstream], .docs-article) [data-docstream-blocks] > * {
84
- margin-block: 0;
85
- }
86
-
87
- :is([data-docstream], .docs-article) [data-docstream-blocks] > * + * {
88
- margin-block-start: 0.9em;
89
- }
90
-
91
- :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(.docs-table, .docs-cards) {
92
- margin-block-start: 0;
93
- margin-block-end: 0;
84
+ margin-block: 0.75em;
94
85
  }
95
86
 
96
87
  :is([data-docstream], .docs-article) :is(h1, h2, h3, h4, h5, h6) {
@@ -104,11 +95,7 @@
104
95
  }
105
96
 
106
97
  :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(h1, h2, h3, h4, h5, h6) {
107
- margin-block-start: 1.6em;
108
- }
109
-
110
- :is([data-docstream], .docs-article) [data-docstream-blocks] > :first-child:is(h1, h2, h3, h4, h5, h6) {
111
- margin-block-start: 0;
98
+ margin-block: 1.6em 0.45em;
112
99
  }
113
100
 
114
101
  :is([data-docstream], .docs-article) h1 {
@@ -145,9 +132,17 @@
145
132
  }
146
133
 
147
134
  :is([data-docstream], .docs-article) p {
135
+ margin-block: 0.75em;
136
+ }
137
+
138
+ :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(.docs-table, table) {
148
139
  margin-block: 0;
149
140
  }
150
141
 
142
+ :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(.docs-cards, .docs-code, .docs-math, .docs-hint, .docs-tabs, .docs-expandable, .docs-stepper, .docs-mermaid-preview, .oas, .docs-embed, .docstream-viz, figure, blockquote, ul, ol, hr) {
143
+ margin-block: 0.75em;
144
+ }
145
+
151
146
  :is([data-docstream], .docs-article) a {
152
147
  color: var(--gb-primary);
153
148
  text-decoration: underline;