1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-01 09:51:39 -05:00

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>
This commit is contained in:
John Olheiser 2020-02-22 08:06:07 -06:00 committed by GitHub
parent 089ccb0c80
commit f4370639be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;