adjust font size for initials and emoji avatar size on small screens

pull/1/head
ansuz 3 years ago
parent 02d9da502d
commit 147ddd88bf

@ -532,7 +532,13 @@
&> button {
height: @toolbar_line-height;
width: @toolbar_line-height;
span { font-size: unset; }
span {
.avatar_vars(36px);
font-size: @avatar-font-size;
.animal {
font-size: @avatar-font-size-animal;
}
}
}
&> button.cp-avatar.cp-avatar {
media-tag {
@ -862,7 +868,6 @@
align-items: center;
.animal {
font-size: @avatar-font-size-animal;
}
}
&.cp-avatar {

@ -162,10 +162,9 @@
&.cp-cursor.cp-tippy-html {
.avatar_vars(20px);
background-color: var(--red);
// XXX figure out how to inherit this from avatar.less
font-size: @avatar-font-size; //var(11px; // 20px / 1.8 as per avatar.less..
font-size: @avatar-font-size;
&.animal {
font-size: @avatar-font-size-animal; //14px; // 20px / 1.8 * (6/5)...
font-size: @avatar-font-size-animal;
}
}
}

Loading…
Cancel
Save