Skip to content

Commit

Permalink
Normalize avatar radius (go-gitea#11589)
Browse files Browse the repository at this point in the history
We already made avatars square for .ui avatar.img class but this is not enough, and in some place Fomantic default styling still applied.

This PR updates our override of radius to match all Fomantic classes.
  • Loading branch information
CirnoT authored and Yohann Delafollye committed Jul 31, 2020
1 parent a2e30fe commit 1857768
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,12 @@ code,
font-weight: normal;
}

.avatar.image {
.avatar.image,
.avatar.image img,
.avatar.image svg,
.avatar.images .image,
.avatar.images img,
.avatar.images svg {
border-radius: 3px;
}

Expand Down

0 comments on commit 1857768

Please sign in to comment.