yz-yuki-plugin 2.0.3-6 → 2.0.3-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.
@@ -28,7 +28,8 @@ class YukiPuppeteerRender {
28
28
  let name = Options?.modelName ?? 'yuki-plugin';
29
29
  let pageHeight = Options?.pageSplitHeight ?? 8000; // 分割图片高度,默认 8000
30
30
  try {
31
- const page = await this.puppeteerInstance.browser?.newPage().catch(err => {
31
+ const browser = this.puppeteerInstance.browser;
32
+ const page = await browser?.newPage().catch(err => {
32
33
  logger.error(err);
33
34
  });
34
35
  if (!page)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yz-yuki-plugin",
3
- "version": "2.0.3-6",
3
+ "version": "2.0.3-7",
4
4
  "description": "优纪插件,yunzaijs 关于 微博推送、B站推送 等功能的拓展插件",
5
5
  "author": "snowtafir",
6
6
  "type": "module",
@@ -6,13 +6,16 @@
6
6
  }
7
7
 
8
8
  body {
9
- width: 563px !important;
10
- font-family: "OPSans", Arial, sans-serif;
11
- margin: auto;
9
+ width: 463px !important;
10
+ font-family: "OPSans";
11
+ }
12
+
13
+ .main-container{
14
+ width: 463px;
12
15
  }
13
16
 
14
17
  .container {
15
- width: 24rem;
18
+ width: 380px;
16
19
  max-height: 40rem;
17
20
  margin: auto;
18
21
  font-size: 1.125rem