@qq1948037137/adminsmart-ui 0.1.23 → 0.1.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qq1948037137/adminsmart-ui",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "AdminSmart React components built on Ant Design",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -105,7 +105,7 @@
105
105
  "provenance": false
106
106
  },
107
107
  "adminsmartUiSource": {
108
- "sha256": "d2de4b3e3ed52437ba45bf3ccad9528e485f7194c76ef4ba0d83c8bdf77c1a5f",
109
- "gitCommit": "635ff48449aa0fe31b0498992625baab7a005bac"
108
+ "sha256": "27b42441d80f17690a51b2715897264faf46ba1da98939f27204dda093c4fc77",
109
+ "gitCommit": "7a53d7be46bdcbaf97df2300c8cabcfc0b9b68c7"
110
110
  }
111
111
  }
@@ -162,11 +162,24 @@
162
162
  background: var(--adminsmart-replay-bg);
163
163
  }
164
164
 
165
+ /* 有官方录制视口时按可用宽度保留原比例,解除占位最小高度,避免窄屏或高视口产生留白。 */
166
+ .adminsmart-session-replay__stage[data-replay-viewport='recorded'] {
167
+ height: var(--adminsmart-replay-recorded-height);
168
+ min-height: 0;
169
+ }
170
+
165
171
  .adminsmart-session-replay__mount {
166
172
  width: 100%;
167
173
  height: 100%;
168
174
  }
169
175
 
176
+ /* 官方 iframe 的属性宽高就是录制视口;消除宿主 border-box 和浏览器默认边框对内容宽高的挤占。 */
177
+ .adminsmart-session-replay__mount > .replayer-wrapper > iframe {
178
+ display: block;
179
+ box-sizing: content-box;
180
+ border: 0;
181
+ }
182
+
170
183
  .adminsmart-session-replay__placeholder {
171
184
  position: absolute;
172
185
  inset: 0;