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>
pull/10400/head^2
John Olheiser 5 years ago committed by GitHub
parent 089ccb0c80
commit f4370639be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      web_src/less/_user.less

@ -5,10 +5,18 @@
&.profile { &.profile {
.ui.card { .ui.card {
.header,
.username { .username {
display: block; display: block;
} }
.header {
font-weight: 700;
font-size: 1.3rem;
margin-top: -0.2rem;
line-height: 1.3rem;
}
.extra.content { .extra.content {
padding: 0; padding: 0;
@ -40,6 +48,9 @@
} }
#profile-avatar { #profile-avatar {
img {
width: 100%;
}
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
height: 250px; height: 250px;
overflow: hidden; overflow: hidden;

Loading…
Cancel
Save