sadais-piui 1.2.7-beta116 → 1.2.7-beta117

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scss/mixin.scss +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta116",
3
+ "version": "1.2.7-beta117",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/mixin.scss CHANGED
@@ -24,23 +24,23 @@
24
24
  // full-height $include-tabbar: 高度是否包含tabbar
25
25
  @mixin full-height($include-tabbar: false) {
26
26
  @if $include-tabbar {
27
- height: 100vh;
27
+ height: 99.99vh;
28
28
 
29
29
  /* #ifdef H5 */
30
30
 
31
31
  /* 修复safari下100vh不生效的问题 */
32
- height: calc(var(--vh, 1vh) * 100);
32
+ height: calc(var(--vh, 1vh) * 99.99);
33
33
 
34
34
  /* #endif */
35
35
  }
36
36
 
37
37
  @else {
38
- height: calc(100vh - var(--window-bottom));
38
+ height: calc(99.99vh - var(--window-bottom));
39
39
 
40
40
  /* #ifdef H5 */
41
41
 
42
42
  /* 修复safari下100vh不生效的问题 */
43
- height: calc(var(--vh, 1vh) * 100 - var(--window-bottom));
43
+ height: calc(var(--vh, 1vh) * 99.99 - var(--window-bottom));
44
44
 
45
45
  /* #endif */
46
46
  }