bge-ui 1.6.4 → 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/style.css CHANGED
@@ -1253,11 +1253,12 @@ to {
1253
1253
  position: relative;
1254
1254
  }
1255
1255
  .bge-modal {
1256
- position: absolute;
1256
+ position: fixed;
1257
1257
  left: 0;
1258
1258
  top: 0;
1259
1259
  width: 100%;
1260
- height: 100%;
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
- position: absolute;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bge-ui",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -136,11 +136,12 @@ defineExpose({
136
136
  }
137
137
  }
138
138
  .bge-modal {
139
- position: absolute;
139
+ position: fixed;
140
140
  left: 0;
141
141
  top: 0;
142
142
  width: 100%;
143
- height: 100%;
143
+ height: 100vh;
144
+ overflow: auto;
144
145
  opacity: 0;
145
146
  background: var(--bg-overlay, rgba(7, 9, 10, 0.80));
146
147
  backdrop-filter: blur(12px);
@@ -161,12 +162,13 @@ defineExpose({
161
162
  z-index: 1003;
162
163
  width: 440px;
163
164
  max-height: calc(94vh - 86px);
164
- margin: 0 auto;
165
+ margin: 0 auto 50px;
165
166
  border-radius: var(--radius-medium, 16px);
166
- position: absolute;
167
- left: 50%;
168
- top: 50%;
169
- transform: translate(-50%, -50%);
167
+ // position: absolute;
168
+ // left: 50%;
169
+ // top: 50%;
170
+ margin-top: 15vh;
171
+ // transform: translateY(-50%);
170
172
  height: 160px;
171
173
  padding: 32px 0;
172
174