bge-ui 1.6.3 → 1.6.5
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/dist/index.js +2 -0
- package/dist/style.css +5 -7
- package/package.json +1 -1
- package/src/dialog/index.vue +11 -7
package/dist/index.js
CHANGED
|
@@ -8767,6 +8767,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8767
8767
|
height.value = 48 + 64 + 16 + Number(offsetHeight);
|
|
8768
8768
|
});
|
|
8769
8769
|
document.body.classList.add("ui-parent--hidden");
|
|
8770
|
+
} else {
|
|
8771
|
+
document.body.classList.remove("ui-parent--hidden");
|
|
8770
8772
|
}
|
|
8771
8773
|
}, {
|
|
8772
8774
|
immediate: true
|
package/dist/style.css
CHANGED
|
@@ -1253,11 +1253,12 @@ to {
|
|
|
1253
1253
|
position: relative;
|
|
1254
1254
|
}
|
|
1255
1255
|
.bge-modal {
|
|
1256
|
-
position:
|
|
1256
|
+
position: fixed;
|
|
1257
1257
|
left: 0;
|
|
1258
1258
|
top: 0;
|
|
1259
1259
|
width: 100%;
|
|
1260
|
-
height:
|
|
1260
|
+
height: 100vh;
|
|
1261
|
+
overflow: auto;
|
|
1261
1262
|
opacity: 0;
|
|
1262
1263
|
background: var(--bg-overlay, rgba(7, 9, 10, 0.8));
|
|
1263
1264
|
backdrop-filter: blur(12px);
|
|
@@ -1276,12 +1277,9 @@ to {
|
|
|
1276
1277
|
z-index: 1003;
|
|
1277
1278
|
width: 440px;
|
|
1278
1279
|
max-height: calc(94vh - 86px);
|
|
1279
|
-
margin: 0 auto;
|
|
1280
|
+
margin: 0 auto 50px;
|
|
1280
1281
|
border-radius: var(--radius-medium, 16px);
|
|
1281
|
-
|
|
1282
|
-
left: 50%;
|
|
1283
|
-
top: 50%;
|
|
1284
|
-
transform: translate(-50%, -50%);
|
|
1282
|
+
margin-top: 15vh;
|
|
1285
1283
|
height: 160px;
|
|
1286
1284
|
padding: 32px 0;
|
|
1287
1285
|
}
|
package/package.json
CHANGED
package/src/dialog/index.vue
CHANGED
|
@@ -75,6 +75,8 @@ watch(() => [props.visible, props.resetState], ([value]) => {
|
|
|
75
75
|
height.value = 48 + 64 + 16 + Number(offsetHeight)
|
|
76
76
|
})
|
|
77
77
|
document.body.classList.add('ui-parent--hidden')
|
|
78
|
+
} else {
|
|
79
|
+
document.body.classList.remove('ui-parent--hidden')
|
|
78
80
|
}
|
|
79
81
|
}, {
|
|
80
82
|
immediate: true
|
|
@@ -134,11 +136,12 @@ defineExpose({
|
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
138
|
.bge-modal {
|
|
137
|
-
position:
|
|
139
|
+
position: fixed;
|
|
138
140
|
left: 0;
|
|
139
141
|
top: 0;
|
|
140
142
|
width: 100%;
|
|
141
|
-
height:
|
|
143
|
+
height: 100vh;
|
|
144
|
+
overflow: auto;
|
|
142
145
|
opacity: 0;
|
|
143
146
|
background: var(--bg-overlay, rgba(7, 9, 10, 0.80));
|
|
144
147
|
backdrop-filter: blur(12px);
|
|
@@ -159,12 +162,13 @@ defineExpose({
|
|
|
159
162
|
z-index: 1003;
|
|
160
163
|
width: 440px;
|
|
161
164
|
max-height: calc(94vh - 86px);
|
|
162
|
-
margin: 0 auto;
|
|
165
|
+
margin: 0 auto 50px;
|
|
163
166
|
border-radius: var(--radius-medium, 16px);
|
|
164
|
-
position: absolute;
|
|
165
|
-
left: 50%;
|
|
166
|
-
top: 50%;
|
|
167
|
-
|
|
167
|
+
// position: absolute;
|
|
168
|
+
// left: 50%;
|
|
169
|
+
// top: 50%;
|
|
170
|
+
margin-top: 15vh;
|
|
171
|
+
// transform: translateY(-50%);
|
|
168
172
|
height: 160px;
|
|
169
173
|
padding: 32px 0;
|
|
170
174
|
|