docs: absolute position phrasing
This commit is contained in:
parent
591a996fd6
commit
977da06db4
2 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ Multiple classes can be added (one per `class` statement). Custom classes are al
|
|||
|
||||
## Layering: `z-index`
|
||||
|
||||
Z-Axis ordering can be set using the `z-index` rule. Absolutely positionned widgets (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
|
||||
Z-Axis ordering can be set using the `z-index` rule. Widgets positioned at absolute coordinates (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
|
||||
|
||||
## Responsive sizing
|
||||
|
||||
|
|
|
|||
|
|
@ -59,11 +59,11 @@ class Widget extends EventEmitter {
|
|||
geometry: {
|
||||
left: {type: 'number|string', value: 'auto', help: [
|
||||
'When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).',
|
||||
'Otherwise, the widget will be absolutely positioned'
|
||||
'Otherwise, the widget will be positioned at absolute coordinates'
|
||||
]},
|
||||
top: {type: 'number|percentage', value: 'auto', help: [
|
||||
'When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).',
|
||||
'Otherwise, the widget will be absolutely positioned'
|
||||
'Otherwise, the widget will be positioned at absolute coordinates'
|
||||
]},
|
||||
width: {type: 'number|percentage', value: 'auto', help: 'Widget width'},
|
||||
height: {type: 'number|percentage', value: 'auto', help: 'Widget height'},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue