@ditojs/admin 2.6.1 → 2.6.2
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.
|
|
3
|
+
"version": "2.6.2",
|
|
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": "
|
|
86
|
+
"gitHead": "cfe61efec24e2380ab645f3adf0f9dbd0b815adb",
|
|
87
87
|
"scripts": {
|
|
88
88
|
"build": "vite build",
|
|
89
89
|
"watch": "yarn build --mode 'development' --watch",
|
|
@@ -233,17 +233,26 @@ export default DitoComponent.component('DitoPane', {
|
|
|
233
233
|
flex-flow: row wrap;
|
|
234
234
|
align-content: flex-start;
|
|
235
235
|
align-items: baseline;
|
|
236
|
+
padding: $content-padding;
|
|
236
237
|
// Remove the padding added by `.dito-container` inside `.dito-pane`:
|
|
237
|
-
|
|
238
|
-
($content-padding - $form-spacing-half);
|
|
238
|
+
margin: (-$form-spacing) (-$form-spacing-half);
|
|
239
239
|
max-width: calc(var(--max-content-width) + $form-spacing);
|
|
240
240
|
// Use `flex: 0%` for all `.dito-pane` except `.dito-pane-main`,
|
|
241
241
|
// so that the `.dito-buttons-main` can be moved all the way to the bottom.
|
|
242
242
|
flex: 0%;
|
|
243
243
|
|
|
244
244
|
&--single {
|
|
245
|
-
// Clear margin from above.
|
|
246
|
-
|
|
245
|
+
// Clear negative margin from above.
|
|
246
|
+
margin: 0;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.dito-scroll > &:not(&--single) {
|
|
250
|
+
// Root-level panes inside scroll views need to move the negative margin
|
|
251
|
+
// used to remove the padding added by `.dito-container` inside
|
|
252
|
+
// `.dito-pane` to the padding:
|
|
253
|
+
padding: ($content-padding - $form-spacing)
|
|
254
|
+
($content-padding - $form-spacing-half);
|
|
255
|
+
margin: 0;
|
|
247
256
|
}
|
|
248
257
|
|
|
249
258
|
&.dito-pane-main {
|
|
@@ -116,9 +116,7 @@ export default DitoTypeComponent.register('object', {
|
|
|
116
116
|
border: $border-style;
|
|
117
117
|
border-radius: $border-radius;
|
|
118
118
|
margin: 0;
|
|
119
|
-
|
|
120
|
-
// in order to have `$form-spacing` all around.
|
|
121
|
-
padding: 0 $form-spacing-half;
|
|
119
|
+
padding: $form-spacing;
|
|
122
120
|
box-sizing: border-box;
|
|
123
121
|
|
|
124
122
|
.dito-object-content {
|
|
@@ -127,7 +125,7 @@ export default DitoTypeComponent.register('object', {
|
|
|
127
125
|
|
|
128
126
|
> .dito-edit-buttons {
|
|
129
127
|
flex: 1 0 0%;
|
|
130
|
-
|
|
128
|
+
margin-left: $form-spacing;
|
|
131
129
|
}
|
|
132
130
|
}
|
|
133
131
|
</style>
|