From f2153614acad29f3881f95ad68f73459fb23172f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 7 Sep 2021 11:46:31 +0100 Subject: [PATCH] Fix clickable area of logo on participant view --- www/form/app-form.less | 23 +++++++++++++---------- www/form/inner.js | 3 ++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/www/form/app-form.less b/www/form/app-form.less index 24253b93b..035d83dec 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -91,19 +91,22 @@ .cp-form-view-title { margin-bottom: 20px; } - div.cp-form-view-logo { + div.cp-form-view-footer { + display: flex; align-items: center; justify-content: center; - font-size: 40px; - display: flex; - font-family: "IBM Plex Mono"; - .tools_unselectable(); - color: @cryptpad_color_grey_500; padding: 20px 20px 150px 20px; - cursor: pointer; - img { - max-height: 60px; - margin: 0px 20px; + div.cp-form-view-logo { + padding: 10px; + font-size: 40px; + font-family: "IBM Plex Mono"; + .tools_unselectable(); + color: @cryptpad_color_grey_500; + cursor: pointer; + img { + max-height: 60px; + margin: 0px 20px; + } } } diff --git a/www/form/inner.js b/www/form/inner.js index 04d6db359..e029476d6 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -2813,7 +2813,8 @@ define([ $(logo).click(function () { APP.framework._.sfCommon.gotoURL('/'); }); - return logo; + var footer = h('div.cp-form-view-footer', [logo]) + return footer; }; var showAnsweredPage = function (framework, content, answers) {