Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Override the calculated avatar font size in user info so that it isn'…
Browse files Browse the repository at this point in the history
…t tiny

Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Sep 7, 2023
1 parent 3b94e40 commit 4a75393
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions res/css/views/right_panel/_UserInfo.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ limitations under the License.
margin: 0 auto;
transition: 0.5s;

.mx_BaseAvatar {
/* Override the calculated font-size so that the letter isn't tiny */
font-size: 4rem;
}

.mx_BaseAvatar,
.mx_BaseAvatar img {
width: 100%;
Expand Down Expand Up @@ -250,6 +255,11 @@ limitations under the License.
max-width: 72px;
margin: 0 auto;
}

.mx_BaseAvatar {
/* Override the calculated font-size so that the letter isn't tiny */
font-size: 2rem;
}
}
}
}

0 comments on commit 4a75393

Please sign in to comment.