ronds-metadata 1.2.64 → 1.2.65

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ import React from "react";
5
5
  /*
6
6
  * @Author: wangxian
7
7
  * @Date: 2022-09-02 16:17:38
8
- * @LastEditTime: 2022-11-23 09:09:46
8
+ * @LastEditTime: 2023-06-08 15:31:01
9
9
  */
10
10
  import ReactMarkdown from 'react-markdown';
11
11
  import remarkGfm from 'remark-gfm';
@@ -23,6 +23,7 @@ var MdView = function MdView(props) {
23
23
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
24
24
  className: "react-mark-down",
25
25
  style: {
26
+ width: '100%',
26
27
  height: '100%',
27
28
  display: 'flex'
28
29
  }
@@ -48,6 +48,7 @@
48
48
  @c-btn-border-dark: #464646;
49
49
 
50
50
  .react-mark-down {
51
+ width: 100%;
51
52
  flex: 1;
52
53
  overflow-y: auto;
53
54
  ul {
@@ -260,7 +261,10 @@
260
261
  // box-shadow: 0 0 0 1px @c-border;
261
262
  // 溢出背景处理
262
263
  overflow: hidden;
263
- table-layout: fixed;
264
+
265
+ thead {
266
+ width: 100%;
267
+ }
264
268
  th,
265
269
  td {
266
270
  padding: 10px 20px;
@@ -351,3 +355,20 @@
351
355
  max-width: 100%;
352
356
  }
353
357
  }
358
+
359
+ .ronds-metadata-dark {
360
+ table {
361
+ width: 100%;
362
+ }
363
+ th {
364
+ background-color: #0d1f40 !important;
365
+ }
366
+ table td,
367
+ table th {
368
+ color: #9b9fa8 !important;
369
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
370
+ }
371
+ table tr {
372
+ background: #13264e !important;
373
+ }
374
+ }
package/es/config.js CHANGED
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  /*
3
3
  * @Author: wangxian
4
4
  * @Date: 2021-09-18 14:15:04
5
- * @LastEditTime: 2023-05-05 11:25:35
5
+ * @LastEditTime: 2023-06-08 15:39:28
6
6
  */
7
7
  import { BehaviorSubject, map, distinctUntilChanged } from 'rxjs';
8
8
  import { setLocale } from './comps/locales/index';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.64",
4
+ "version": "1.2.65",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",