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
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -208,7 +208,7 @@
208
208
  }
209
209
  .muigui-root>div:nth-child(2),
210
210
  .muigui-menu>div:nth-child(2) {
211
- flex: 1 1 auto;
211
+ flex: 0 0 auto;
212
212
  }
213
213
 
214
214
  .muigui-controller {
@@ -283,15 +283,20 @@
283
283
  background-image: var(--image-closed);
284
284
  }
285
285
 
286
- .muigui-open>.muigui-open-container {
286
+ .muigui-open > .muigui-open-container {
287
287
  transition: all 0.1s ease-out;
288
288
  overflow: auto;
289
- height: 100%;
289
+ max-height: calc(100vh - 3em);
290
290
  }
291
291
  .muigui-closed>.muigui-open-container {
292
292
  transition: all 0.1s ease-out;
293
+ max-height: 0;
294
+ height: 0; /* make it unambiguous */
295
+ min-height: 0; /* overrides .muigui-controller min-height */
293
296
  overflow: hidden;
294
- min-height: 0;
297
+ padding: 0;
298
+ margin: 0;
299
+ border: 0;
295
300
  }
296
301
  .muigui-open>.muigui-open-container>* {
297
302
  transition: all 0.1s ease-out;