Skip to content

Commit 5288391

Browse files
committed
avatar page fixes
1 parent 68047ce commit 5288391

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

web_src/css/base.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,13 +1058,22 @@ a.label,
10581058
flex-wrap: wrap;
10591059
}
10601060

1061+
.ui.card:last-child {
1062+
margin-bottom: 0;
1063+
}
1064+
.ui.card:first-child {
1065+
margin-top: 0;
1066+
}
1067+
10611068
.ui.cards > .card,
10621069
.ui.card {
10631070
display: flex;
10641071
flex-direction: column;
10651072
max-width: 100%;
10661073
width: 290px;
1067-
margin: .875em .5em;
1074+
margin: 1em 0;
1075+
min-height: 0;
1076+
padding: 0;
10681077
background: var(--color-card);
10691078
border: 1px solid var(--color-secondary);
10701079
box-shadow: none;

web_src/css/user.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
width: 100%;
3939
}
4040

41+
.user.profile .ui.card #profile-avatar {
42+
padding: 1rem 1rem 0.25rem;
43+
justify-content: center;
44+
}
4145

4246
.user.profile .ui.card #profile-avatar img {
4347
max-width: 100%;

0 commit comments

Comments
 (0)