From 63316be535f45d60c68e4c602b59daa0fb0bb8ad Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 22 Nov 2022 10:17:46 +0100 Subject: [PATCH] Removed `inline` parameter of checkbox and select components --- dev/App/Abstract.js | 3 --- dev/Component/Checkbox.js | 1 - .../Views/Admin/AdminSettingsDomains.html | 1 + .../Views/Admin/AdminSettingsSecurity.html | 7 ++--- .../templates/Views/Admin/PopupsDomain.html | 27 +++++++------------ .../templates/Views/User/SettingsGeneral.html | 10 +++---- .../Views/User/SettingsSecurity.html | 1 - 7 files changed, 16 insertions(+), 34 deletions(-) diff --git a/dev/App/Abstract.js b/dev/App/Abstract.js index 02d547c4e..7f925251f 100644 --- a/dev/App/Abstract.js +++ b/dev/App/Abstract.js @@ -36,9 +36,6 @@ export class AbstractApp { createViewModel: (params, componentInfo) => { params = params || {}; i18nToNodes(componentInfo.element); - if (params.inline) { - componentInfo.element.style.display = 'inline-block'; - } return new ClassObject(params); } } diff --git a/dev/Component/Checkbox.js b/dev/Component/Checkbox.js index 68825468f..5d427c89c 100644 --- a/dev/Component/Checkbox.js +++ b/dev/Component/Checkbox.js @@ -7,7 +7,6 @@ export class CheckboxComponent { : ko.observable(undefined === params.enable || !!params.enable); this.label = params.label; - this.inline = params.inline; } click() { diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html index fd3b9b555..98171ac6c 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html @@ -32,6 +32,7 @@ +