Fix clickable area of logo on participant view

This commit is contained in:
David Benqué 2021-09-07 11:46:31 +01:00
parent c89f4f555b
commit f2153614ac
2 changed files with 15 additions and 11 deletions

View File

@ -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;
}
}
}

View File

@ -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) {