@ditojs/admin 2.6.4 → 2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/admin",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "type": "module",
5
5
  "description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
@@ -83,7 +83,7 @@
83
83
  "vite": "^4.3.4"
84
84
  },
85
85
  "types": "types",
86
- "gitHead": "a454a0b0c8c4f674abdec235b535c59fa7abd18c",
86
+ "gitHead": "01511e6f5082c5f63c6fb17959559b3e28a111b2",
87
87
  "scripts": {
88
88
  "build": "vite build",
89
89
  "watch": "yarn build --mode 'development' --watch",
@@ -220,6 +220,18 @@ export default DitoComponent.component('DitoContainer', {
220
220
  @container (width < #{$content-width}) {
221
221
  flex-grow: 1;
222
222
  }
223
+
224
+ @container (width < #{calc($content-width * 0.8)}) {
225
+ &:not(:has(> .dito-list, > .dito-object)) {
226
+ flex-basis: calc(var(--basis) * 1.5);
227
+ }
228
+ }
229
+
230
+ @container (width < #{calc($content-width * 0.6)}) {
231
+ &:not(:has(> .dito-list, > .dito-object)) {
232
+ flex-basis: calc(var(--basis) * 2);
233
+ }
234
+ }
223
235
  }
224
236
 
225
237
  .dito-sidebar & {
@@ -227,7 +239,7 @@ export default DitoComponent.component('DitoContainer', {
227
239
  flex-grow: 1;
228
240
  }
229
241
 
230
- @container (width < #{calc($sidebar-max-width / 2)}) {
242
+ @container (width < #{calc($sidebar-max-width * 0.6)}) {
231
243
  flex-basis: calc(var(--basis) * 2);
232
244
  }
233
245
  }