@ditojs/admin 2.2.8 → 2.2.9

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.2.8",
3
+ "version": "2.2.9",
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",
@@ -82,7 +82,7 @@
82
82
  "vite": "^4.3.1"
83
83
  },
84
84
  "types": "types",
85
- "gitHead": "6c520e0985b080c574f93fdee8b7f19d51a84140",
85
+ "gitHead": "f08406eb78e42d4307375602961821982aa815b3",
86
86
  "scripts": {
87
87
  "build": "vite build",
88
88
  "watch": "yarn build --mode 'development' --watch",
@@ -17,6 +17,7 @@
17
17
  :schema="schema"
18
18
  :data="dialogData"
19
19
  scrollable
20
+ generateLabels
20
21
  )
21
22
  template(#buttons)
22
23
  DitoButtons.dito-buttons-large(
@@ -168,7 +168,6 @@ export default DitoComponent.component('DitoPane', {
168
168
 
169
169
  &.dito-pane-main {
170
170
  flex: 100%;
171
- margin-bottom: 0; // For vertical scroll size.
172
171
  }
173
172
 
174
173
  .dito-schema-header + & {
@@ -707,6 +707,11 @@ export default DitoComponent.component('DitoSchema', {
707
707
  grid-row-end: none;
708
708
  }
709
709
 
710
+ &.dito-scroll::after {
711
+ // Eat up negative margin of the last child to prevent overscroll.
712
+ content: '';
713
+ }
714
+
710
715
  max-width: $content-width + 2 * $content-padding;
711
716
  }
712
717
 
@@ -118,6 +118,7 @@
118
118
  font-size: $menu-font-size;
119
119
  flex-flow: row wrap;
120
120
  justify-content: center;
121
+ padding-bottom: $content-padding;
121
122
 
122
123
  .dito-container {
123
124
  // Do not specify this on .dito-buttons directly as it would break borders
@@ -136,7 +137,6 @@
136
137
  width: 100%;
137
138
  align-self: flex-end;
138
139
  z-index: 500;
139
- padding-bottom: $content-padding;
140
140
  margin-bottom: -$content-padding;
141
141
  margin-top: 2 * $content-padding;
142
142
  box-shadow: 0 (-$content-padding) $content-padding (-$content-padding)