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 {
--avatar-size: 32px;
width: var(--avatar-size); width: var(--avatar-size);
height: var(--avatar-size); height: var(--avatar-size);
overflow: hidden; overflow: hidden;

View File

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