@mp-lb/mdkit 0.3.4 → 0.3.6

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 +9 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mp-lb/mdkit",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/src/styles.css CHANGED
@@ -353,6 +353,11 @@
353
353
  flex-direction: column;
354
354
  }
355
355
 
356
+ .mp-lb-mdkit-markdown-editor-fill-height.mp-lb-mdkit-markdown-editor-document-margins
357
+ .mp-lb-mdkit-editor-surface {
358
+ padding-block: 0;
359
+ }
360
+
356
361
  .mp-lb-mdkit-markdown-editor-fill-height .mp-lb-mdkit-editor-surface > div {
357
362
  display: flex;
358
363
  min-height: 0;
@@ -375,16 +380,14 @@
375
380
  }
376
381
 
377
382
  .mp-lb-mdkit-markdown-editor-fill-height .mp-lb-mdkit-tiptap {
378
- height: 100%;
379
383
  min-height: 100%;
380
- flex: 1 1 auto;
384
+ flex: 0 0 auto;
381
385
  }
382
386
 
383
387
  .mp-lb-mdkit-markdown-editor-fill-height.mp-lb-mdkit-markdown-editor-document-margins
384
- .mp-lb-mdkit-tiptap::after {
385
- content: "";
386
- display: block;
387
- flex: 0 0 var(--mp-lb-mdkit-document-margin-block);
388
+ .mp-lb-mdkit-tiptap {
389
+ box-sizing: border-box;
390
+ padding-block: var(--mp-lb-mdkit-document-margin-block);
388
391
  }
389
392
 
390
393
  .mp-lb-mdkit-markdown-view.mp-lb-mdkit-markdown-editor-fill-height