don't set a default avatar size in the css, makes it easier to change it

This commit is contained in:
Bruno Windels 2021-04-27 15:09:29 +02:00
parent fbe255f837
commit a9838fed06
2 changed files with 5 additions and 1 deletions

View file

@ -16,7 +16,6 @@ limitations under the License.
*/
.avatar {
--avatar-size: 32px;
width: var(--avatar-size);
height: var(--avatar-size);
overflow: hidden;

View file

@ -250,6 +250,7 @@ a.button-action {
/* make scrollbar hit right edge of parent */
padding-right: 8px;
margin-right: -8px;
--avatar-size: 32px;
}
.RoomList > li {
@ -434,6 +435,10 @@ a {
background-position-x: 10px;
}
.RoomHeader {
--avatar-size: 32px;
}
.RoomHeader .topic {
font-size: 14rem;
}