@mryhryki/markdown-preview 0.8.6 → 0.8.7

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.
@@ -126,14 +126,15 @@
126
126
  .markdown-body {
127
127
  -ms-text-size-adjust: 100%;
128
128
  -webkit-text-size-adjust: 100%;
129
- margin: 0;
130
129
  color: var(--fgColor-default);
131
130
  background-color: var(--bgColor-default);
132
131
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
133
132
  font-size: 16px;
134
- line-height: 1.5;
135
133
  word-wrap: break-word;
136
- scroll-behavior: auto !important;
134
+ margin: 0;
135
+ min-height: 100vh;
136
+ line-height: 1.5;
137
+ scroll-behavior: smooth;
137
138
  }
138
139
 
139
140
  .markdown-body .octicon {
@@ -256,12 +257,12 @@
256
257
  }
257
258
 
258
259
  .markdown-body input {
259
- font: inherit;
260
260
  margin: 0;
261
261
  overflow: visible;
262
262
  font-family: inherit;
263
263
  font-size: inherit;
264
264
  line-height: inherit;
265
+ font: inherit;
265
266
  }
266
267
 
267
268
  .markdown-body [type=button],
@@ -326,6 +327,7 @@
326
327
  width: max-content;
327
328
  max-width: 100%;
328
329
  overflow: auto;
330
+ font-variant: tabular-nums;
329
331
  }
330
332
 
331
333
  .markdown-body td,
@@ -485,7 +487,6 @@
485
487
  .markdown-body input::-webkit-outer-spin-button,
486
488
  .markdown-body input::-webkit-inner-spin-button {
487
489
  margin: 0;
488
- -webkit-appearance: none;
489
490
  appearance: none;
490
491
  }
491
492
 
@@ -957,6 +958,10 @@
957
958
  font-family: monospace;
958
959
  }
959
960
 
961
+ .markdown-body body:has(:modal) {
962
+ padding-right: var(--dialog-scrollgutter) !important;
963
+ }
964
+
960
965
  .markdown-body .pl-c {
961
966
  color: var(--color-prettylights-syntax-comment);
962
967
  }
@@ -1219,3 +1224,31 @@
1219
1224
  margin-top: 0 !important;
1220
1225
  }
1221
1226
 
1227
+ .markdown-body ul[role='list'],
1228
+ .markdown-body ol[role='list'] {
1229
+ list-style: none;
1230
+ }
1231
+
1232
+ .markdown-body html[focus-within] {
1233
+ scroll-behavior: smooth;
1234
+ }
1235
+
1236
+ .markdown-body html:focus-within {
1237
+ scroll-behavior: smooth;
1238
+ }
1239
+
1240
+ .markdown-body a:not([class]) {
1241
+ -webkit-text-decoration-skip: ink;
1242
+ text-decoration-skip-ink: auto;
1243
+ }
1244
+
1245
+ .markdown-body img,
1246
+ .markdown-body picture {
1247
+ max-width: 100%;
1248
+ display: block;
1249
+ }
1250
+
1251
+ .markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
1252
+ width: calc(100% - 20px);
1253
+ }
1254
+