summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-29 19:00:39 +0200
committerGitHub <noreply@github.com>2020-05-29 18:00:39 +0100
commitf36104e410b3ed6b269d3b8ffb7f5247125171b6 (patch)
treef3797cfd4c07be03ef91a537286688153071dac8 /web_src/less/_base.less
parent4c1ff57f1a41197bb6f6797d33461c76378e354c (diff)
downloadgitea-f36104e410b3ed6b269d3b8ffb7f5247125171b6.tar.gz
gitea-f36104e410b3ed6b269d3b8ffb7f5247125171b6.zip
Normalize avatar radius (#11589)
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.
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less7
1 files changed, 6 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index b926685415..3756f8686e 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -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;
}