aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2021-01-03 14:20:05 -0700
committerGitHub <noreply@github.com>2021-01-03 22:20:05 +0100
commit4092c044e0ccd0f3b6c9224c34fb7d1265851f4b (patch)
treef5c77715ccef6a51d7b01ef8f0adc24352545bc3 /web_src
parent9cc5a89b8c8654e3e40686323572e69300807629 (diff)
downloadgitea-4092c044e0ccd0f3b6c9224c34fb7d1265851f4b.tar.gz
gitea-4092c044e0ccd0f3b6c9224c34fb7d1265851f4b.zip
Kd/fix team avatar aspect ratio (#14200)
* Add org member avatar to text data for fixed width * set min-width to prevent single char lines
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_organization.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/web_src/less/_organization.less b/web_src/less/_organization.less
index 1a458da61d..64da65f7af 100644
--- a/web_src/less/_organization.less
+++ b/web_src/less/_organization.less
@@ -121,11 +121,15 @@
.ui.avatar {
width: 48px;
- height: 48px;
+ height: auto;
+ margin-right: 1rem;
+ align-self: flex-start;
}
.meta {
line-height: 24px;
+ word-break: break-word;
+ min-width: 2em;
}
}
}