Fix clickable area of logo on participant view

pull/1/head
David Benqué 3 years ago
parent c89f4f555b
commit f2153614ac

@ -91,19 +91,22 @@
.cp-form-view-title { .cp-form-view-title {
margin-bottom: 20px; margin-bottom: 20px;
} }
div.cp-form-view-logo { div.cp-form-view-footer {
display: flex;
align-items: center; align-items: center;
justify-content: 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; padding: 20px 20px 150px 20px;
cursor: pointer; div.cp-form-view-logo {
img { padding: 10px;
max-height: 60px; font-size: 40px;
margin: 0px 20px; font-family: "IBM Plex Mono";
.tools_unselectable();
color: @cryptpad_color_grey_500;
cursor: pointer;
img {
max-height: 60px;
margin: 0px 20px;
}
} }
} }

@ -2813,7 +2813,8 @@ define([
$(logo).click(function () { $(logo).click(function () {
APP.framework._.sfCommon.gotoURL('/'); APP.framework._.sfCommon.gotoURL('/');
}); });
return logo; var footer = h('div.cp-form-view-footer', [logo])
return footer;
}; };
var showAnsweredPage = function (framework, content, answers) { var showAnsweredPage = function (framework, content, answers) {

Loading…
Cancel
Save