muigui 0.0.22 → 0.0.24

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.
@@ -1,4 +1,4 @@
1
- /* muigui@0.0.22, license MIT */
1
+ /* muigui@0.0.24, license MIT */
2
2
  var css = {
3
3
  default: `
4
4
  .muigui {
@@ -202,7 +202,7 @@ var css = {
202
202
  }
203
203
  .muigui-root>div:nth-child(2),
204
204
  .muigui-menu>div:nth-child(2) {
205
- flex: 1 1 auto;
205
+ flex: 0 0 auto;
206
206
  }
207
207
 
208
208
  .muigui-controller {
@@ -277,15 +277,20 @@ var css = {
277
277
  background-image: var(--image-closed);
278
278
  }
279
279
 
280
- .muigui-open>.muigui-open-container {
280
+ .muigui-open > .muigui-open-container {
281
281
  transition: all 0.1s ease-out;
282
282
  overflow: auto;
283
- height: 100%;
283
+ max-height: calc(100vh - 3em);
284
284
  }
285
285
  .muigui-closed>.muigui-open-container {
286
286
  transition: all 0.1s ease-out;
287
+ max-height: 0;
288
+ height: 0; /* make it unambiguous */
289
+ min-height: 0; /* overrides .muigui-controller min-height */
287
290
  overflow: hidden;
288
- min-height: 0;
291
+ padding: 0;
292
+ margin: 0;
293
+ border: 0;
289
294
  }
290
295
  .muigui-open>.muigui-open-container>* {
291
296
  transition: all 0.1s ease-out;