Fix logo and title
This commit is contained in:
parent
0072aaa8a5
commit
98a0b7f88f
2 changed files with 11 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
|
||||
h1.cp-onboardscreen-title {
|
||||
font-family: "IBM Plex Mono";
|
||||
color: @cryptpad_color_brand;
|
||||
color: @cryptpad_color_link;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
@ -63,6 +63,16 @@
|
|||
}
|
||||
.cp-onboardscreen-logo {
|
||||
width: 130px;
|
||||
.cp-sidebar-form {
|
||||
background-color: @cp_forms-bg;
|
||||
border-radius: @variables_radius;
|
||||
padding: 0.5rem;
|
||||
.cp-admin-customize-logo {
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.cp-instance-text-form {
|
||||
width: 100%;
|
||||
|
|
|
@ -87,7 +87,6 @@ define([
|
|||
var currentContainer = blocks.block([], 'cp-admin-customize-logo');
|
||||
let redraw = () => {
|
||||
var current = h('img', {src: '/api/logo?'+(+new Date())});
|
||||
$(current).css({'max-width':'30px'});
|
||||
$(currentContainer).empty().append(current);
|
||||
};
|
||||
redraw();
|
||||
|
|
Loading…
Reference in a new issue