From 977da06db4c6e07ee2126d6a750da1364243ed85 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Apr 2021 19:57:59 +0200 Subject: [PATCH] docs: absolute position phrasing --- resources/docs/docs/customization/css-tips.md | 2 +- src/client/widgets/common/widget.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/customization/css-tips.md b/resources/docs/docs/customization/css-tips.md index 1fdf7e6f..859511e8 100644 --- a/resources/docs/docs/customization/css-tips.md +++ b/resources/docs/docs/customization/css-tips.md @@ -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 diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index cba3cf04..47b420e3 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -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'},