From 4eb9e0dabfd28f9681cb659877cb89e7f20dfaa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 22 Nov 2019 09:04:11 +0000 Subject: [PATCH] Revert "remove text fields in properties modal" This reverts commit dfcf6d71557f63e8830bc30aa2b495798dfacf18. --- .../src/less2/include/modals-ui-elements.less | 9 ------ www/common/common-ui-elements.js | 28 +++++++++++++++---- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/customize.dist/src/less2/include/modals-ui-elements.less b/customize.dist/src/less2/include/modals-ui-elements.less index 86074f4ad..a3cc41004 100644 --- a/customize.dist/src/less2/include/modals-ui-elements.less +++ b/customize.dist/src/less2/include/modals-ui-elements.less @@ -15,13 +15,4 @@ } } - // Properties modal - .cp-app-prop{ - margin-bottom: 10px; - } - - .cp-app-prop-content{ - color: @cryptpad_text_col; - } - } \ No newline at end of file diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 089e10880..1512cb761 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -684,15 +684,26 @@ define([ } if (data.tags && Array.isArray(data.tags)) { - $d.append(h('div.cp-app-prop', [Messages.fm_prop_tagsList, ': ', h('span.cp-app-prop-content', data.tags.join(', '))])); + $('