From e84c6bb489a56ed201af29beaad082b4d69d4fcf Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 10 Nov 2020 11:48:25 +0100 Subject: [PATCH] Fix PCS UI --- customize.dist/src/less2/include/creation.less | 18 ++++++++++++++++++ www/common/common-ui-elements.js | 10 ++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/customize.dist/src/less2/include/creation.less b/customize.dist/src/less2/include/creation.less index eba596e15..d2973193e 100644 --- a/customize.dist/src/less2/include/creation.less +++ b/customize.dist/src/less2/include/creation.less @@ -82,6 +82,23 @@ text-align: left; } + .cp-creation-checkboxes { + flex-flow: column; + align-items: baseline !important; + max-height: 150px; + min-height: 120px !important; + justify-content: space-evenly; + flex: 1; + & > div { + display: flex; + width: 100%; + max-width: 100%; + margin: auto; + text-align: left; + } + } + + .cp-creation-title { font-size: 20px; display: flex; @@ -256,6 +273,7 @@ } } .cp-creation-password { + flex-flow: column; .cp-creation-password-picker { text-align: center; width: 100%; diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index a4015f341..071dca14d 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2247,10 +2247,12 @@ define([ var $create = $(createDiv); $(h('div#cp-creation-form', [ - team, - owned, - expire, - password, + h('div.cp-creation-checkboxes', [ + team, + owned, + expire, + password, + ]), templates, createDiv ])).appendTo($creation);