dsh-pocket 1.4.5 → 1.4.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.
package/client/client.js CHANGED
@@ -427,6 +427,16 @@ var MOBILE_CSS = `
427
427
  padding-top: env(safe-area-inset-top, 0px) !important;
428
428
  }
429
429
 
430
+ /* \u4E3B\u5185\u5BB9\u5217\uFF08\u7B2C 2 \u4E2A\u7F51\u683C\u5B50\u5143\u7D20\uFF09\u5728\u5B98\u65B9\u6837\u5F0F\u91CC\u6709\u663E\u5F0F grid-column: 2\u2014\u2014
431
+ \u7F51\u683C\u88AB\u538B\u7F29\u6210 [1fr, 0, 0] \u540E\u5B83\u4F1A\u843D\u5728 0px \u7684\u7B2C 2 \u8F68\uFF0C\u6574\u4E2A\u4E3B\u754C\u9762\u88AB\u6324\u51FA
432
+ \u89C6\u53E3\uFF08\u53EA\u5269\u80CC\u666F\u56FE\uFF09\u3002\u5FC5\u987B\u663E\u5F0F\u628A\u5B83\u62C9\u56DE\u7B2C 1 \u8F68\uFF08issue #5\uFF09\u3002
433
+ \u7B2C 3 \u5217\uFF08details\uFF09\u4FDD\u6301 0 \u8F68\u5373\u53EF\uFF0C\u65E0\u9700\u5904\u7406\u3002 */
434
+ [data-mobile-nav="frame"] > :nth-child(2) {
435
+ grid-column: 1 !important;
436
+ grid-row: 1 !important;
437
+ min-width: 0 !important;
438
+ }
439
+
430
440
  /* The sidebar column (first grid child) becomes a left drawer. The drawer
431
441
  hugs the sidebar content exactly (the wide sidebar carries an inline
432
442
  width, ~280px): a fixed 92vw box would leave a white strip where the
@@ -175,6 +175,16 @@ export const MOBILE_CSS = `
175
175
  padding-top: env(safe-area-inset-top, 0px) !important;
176
176
  }
177
177
 
178
+ /* 主内容列(第 2 个网格子元素)在官方样式里有显式 grid-column: 2——
179
+ 网格被压缩成 [1fr, 0, 0] 后它会落在 0px 的第 2 轨,整个主界面被挤出
180
+ 视口(只剩背景图)。必须显式把它拉回第 1 轨(issue #5)。
181
+ 第 3 列(details)保持 0 轨即可,无需处理。 */
182
+ [data-mobile-nav="frame"] > :nth-child(2) {
183
+ grid-column: 1 !important;
184
+ grid-row: 1 !important;
185
+ min-width: 0 !important;
186
+ }
187
+
178
188
  /* The sidebar column (first grid child) becomes a left drawer. The drawer
179
189
  hugs the sidebar content exactly (the wide sidebar carries an inline
180
190
  width, ~280px): a fixed 92vw box would leave a white strip where the
package/package.json CHANGED
@@ -76,5 +76,5 @@
76
76
  "access": "public",
77
77
  "registry": "https://registry.npmjs.org/"
78
78
  },
79
- "version": "1.4.5"
79
+ "version": "1.4.6"
80
80
  }