@meowdown/core 0.75.1 → 0.75.2
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/style.css +7 -2
- package/package.json +3 -3
package/dist/style.css
CHANGED
|
@@ -212,8 +212,9 @@
|
|
|
212
212
|
--_tint: color-mix(in srgb, currentColor 5%, transparent);
|
|
213
213
|
--_media-height: 7.5rem;
|
|
214
214
|
--_show-more-height: 2rem;
|
|
215
|
+
--_max-width: 28rem;
|
|
215
216
|
width: fit-content;
|
|
216
|
-
max-width: min(
|
|
217
|
+
max-width: min(var(--_max-width), 100%);
|
|
217
218
|
font: inherit;
|
|
218
219
|
color: var(--meowdown-embed-color, inherit);
|
|
219
220
|
text-decoration-skip-ink: none;
|
|
@@ -229,6 +230,7 @@
|
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
[data-meowdown-embed="x"] [data-root] {
|
|
233
|
+
max-width: var(--_max-width);
|
|
232
234
|
color: var(--meowdown-embed-color, inherit);
|
|
233
235
|
background: var(--meowdown-embed-background, transparent);
|
|
234
236
|
border: 1px solid var(--_hairline);
|
|
@@ -1279,11 +1281,14 @@
|
|
|
1279
1281
|
|
|
1280
1282
|
.ProseMirror table {
|
|
1281
1283
|
border-collapse: collapse;
|
|
1282
|
-
table-layout: fixed;
|
|
1283
1284
|
width: 100%;
|
|
1284
1285
|
overflow: hidden;
|
|
1285
1286
|
}
|
|
1286
1287
|
|
|
1288
|
+
.ProseMirror :is(td, th) :is(code, .md-link, .md-link-uri) {
|
|
1289
|
+
overflow-wrap: anywhere;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1287
1292
|
.ProseMirror td, .ProseMirror th {
|
|
1288
1293
|
box-sizing: border-box;
|
|
1289
1294
|
border: 1px solid var(--meowdown-table-border);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meowdown/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.75.
|
|
4
|
+
"version": "0.75.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@codemirror/language-data": "^6.5.2",
|
|
26
26
|
"@floating-ui/dom": "^1.8.0",
|
|
27
27
|
"@lezer/highlight": "^1.2.3",
|
|
28
|
-
"@meowdown/embed": "
|
|
29
|
-
"@meowdown/markdown": "
|
|
28
|
+
"@meowdown/embed": "0.3.1",
|
|
29
|
+
"@meowdown/markdown": "0.72.0",
|
|
30
30
|
"@ocavue/utils": "^1.8.0",
|
|
31
31
|
"@post-embed/exporter": "^0.5.0",
|
|
32
32
|
"@post-embed/schema": "^0.5.2",
|