also add avatar size for timeline

This commit is contained in:
Bruno Windels 2021-04-28 14:12:35 +02:00
parent e1d4c75d18
commit ad3b7f7f00

View file

@ -53,6 +53,14 @@ limitations under the License.
font-size: calc(var(--avatar-size) * 0.6); font-size: calc(var(--avatar-size) * 0.6);
} }
.hydrogen .avatar.size-30 {
--avatar-size: 30px;
width: var(--avatar-size);
height: var(--avatar-size);
line-height: var(--avatar-size);
font-size: calc(var(--avatar-size) * 0.6);
}
.hydrogen .avatar.size-24 { .hydrogen .avatar.size-24 {
--avatar-size: 24px; --avatar-size: 24px;
width: var(--avatar-size); width: var(--avatar-size);