diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-02-22 08:06:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 16:06:07 +0200 |
commit | f4370639beb2072bcf4595bdd993ab58962e061a (patch) | |
tree | 7fdba8e06a368a393e4a845ff5587aaf0ed8ed0a /web_src/less/_user.less | |
parent | 089ccb0c80050efc8c3afef2402ea4f4a5ed250e (diff) | |
download | gitea-f4370639beb2072bcf4595bdd993ab58962e061a.tar.gz gitea-f4370639beb2072bcf4595bdd993ab58962e061a.zip |
Fix profile page CSS (#10406)
* Fix profile page
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove redundant CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix .username and change em to rem
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'web_src/less/_user.less')
-rw-r--r-- | web_src/less/_user.less | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web_src/less/_user.less b/web_src/less/_user.less index 2bec3489e7..e9e41a01cb 100644 --- a/web_src/less/_user.less +++ b/web_src/less/_user.less @@ -5,10 +5,18 @@ &.profile { .ui.card { + .header, .username { display: block; } + .header { + font-weight: 700; + font-size: 1.3rem; + margin-top: -0.2rem; + line-height: 1.3rem; + } + .extra.content { padding: 0; @@ -40,6 +48,9 @@ } #profile-avatar { + img { + width: 100%; + } @media only screen and (max-width: 768px) { height: 250px; overflow: hidden; |