modal: missing innerPadding prop
This commit is contained in:
parent
28dd19c4f7
commit
24f33a2e03
3 changed files with 9 additions and 3 deletions
|
|
@ -34,8 +34,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) {
|
|||
layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
|
||||
traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'},
|
||||
|
||||
|
||||
innerPadding: {type : 'boolean', value: true, help: 'Set to `false` to make the `padding` property apply only between children and not at the container\'s inner boundaries.'},
|
||||
|
||||
}, [], {})
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ class Modal extends Panel {
|
|||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
|
||||
traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'},
|
||||
scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'},
|
||||
innerPadding: {type : 'boolean', value: true, help: 'Set to `false` to make the `padding` property apply only between children and not at the container\'s inner boundaries.'},
|
||||
|
||||
}, [], {
|
||||
|
||||
|
|
|
|||
|
|
@ -470,13 +470,19 @@
|
|||
> inner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.no-inner-padding > .popup > .popup-wrapper > .popup-content > inner {
|
||||
margin: calc(var(--widget-spacing) * -1);
|
||||
}
|
||||
|
||||
|
||||
> .popup {
|
||||
padding:0;
|
||||
|
||||
> .popup-wrapper {
|
||||
width: var(--width, 100%);
|
||||
height: var(--height, 100%);
|
||||
.popup-content {
|
||||
> .popup-content {
|
||||
// contain:unset; // == no restrain
|
||||
&:before {
|
||||
content: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue