@ditojs/admin 2.30.0 → 2.30.1

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.30.0",
3
+ "version": "2.30.1",
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": "^5.2.10"
84
84
  },
85
85
  "types": "types",
86
- "gitHead": "59a02102ca6fd2340fcc51961b2879198b396410",
86
+ "gitHead": "39fbb6da77e7d90265fce7cd7cd7e92b3b034803",
87
87
  "scripts": {
88
88
  "build": "vite build",
89
89
  "watch": "yarn build --mode 'development' --watch",
@@ -253,7 +253,7 @@ export default DitoComponent.component('DitoContainer', {
253
253
  max-width: 100%;
254
254
  // Cannot use margin here as it needs to be part of box-sizing for
255
255
  // percentages in flex-basis to work.
256
- padding: $form-spacing-half;
256
+ padding: var(--container-padding);
257
257
 
258
258
  > .dito-label:only-child {
259
259
  // Used e.g. when sources hide themselves due to maxDepth, but the label
@@ -288,10 +288,8 @@ export default DitoComponent.component('DitoContainer', {
288
288
  }
289
289
  }
290
290
 
291
- :not(.dito-pane) > &--single {
291
+ &--single {
292
292
  height: 100%; // So that list buttons can be sticky at the bottom;
293
- // Just like on DitoPane, clear settings from above.
294
- padding: 0;
295
293
  }
296
294
 
297
295
  &--label-vertical {
@@ -241,6 +241,7 @@ export default DitoComponent.component('DitoPane', {
241
241
  $root-padding: $content-padding - $form-spacing-half;
242
242
 
243
243
  --pane-padding: 0px;
244
+ --container-padding: #{$form-spacing-half};
244
245
 
245
246
  display: flex;
246
247
  position: relative;
@@ -267,6 +268,7 @@ export default DitoComponent.component('DitoPane', {
267
268
 
268
269
  &#{$self}--single {
269
270
  --pane-padding: #{$content-padding};
271
+ --container-padding: 0px;
270
272
  }
271
273
 
272
274
  &:has(> .dito-container--label-vertical:first-of-type) {