Skip to content

Commit ac57ec5

Browse files
GiteaBotwxiaoguang
andauthored
Fix user profile description rendering (#23882) (#23902)
Backport #23882 by @wxiaoguang Found an UI problem when testing #23874 The `ul li` styles were polluted. Before: ![image](https://user-images.githubusercontent.com/2114189/229409756-22438268-ee36-4e4a-a20b-04ee8ee4a79d.png) After: ![image](https://user-images.githubusercontent.com/2114189/229409809-25cea715-b6f1-4346-9bb4-3fbb58fcca65.png) Co-authored-by: wxiaoguang <[email protected]>
1 parent f6dab64 commit ac57ec5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web_src/css/user.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@
1515
padding: 0;
1616
}
1717

18-
.user.profile .ui.card .extra.content ul {
18+
.user.profile .ui.card .extra.content > ul {
1919
margin: 0;
2020
padding: 0;
2121
}
2222

23-
.user.profile .ui.card .extra.content ul li {
23+
.user.profile .ui.card .extra.content > ul > li {
2424
padding: 10px;
2525
list-style: none;
2626
}
2727

28-
.user.profile .ui.card .extra.content ul li:not(:last-child) {
28+
.user.profile .ui.card .extra.content > ul > li:not(:last-child) {
2929
border-bottom: 1px solid var(--color-secondary);
3030
}
3131

32-
.user.profile .ui.card .extra.content ul li .svg {
32+
.user.profile .ui.card .extra.content > ul > li .svg {
3333
margin-left: 1px;
3434
margin-right: 5px;
3535
}
3636

37-
.user.profile .ui.card .extra.content ul li.follow .ui.button {
37+
.user.profile .ui.card .extra.content > ul > li.follow .ui.button {
3838
width: 100%;
3939
}
4040

@@ -112,7 +112,7 @@
112112
margin: -3px !important;
113113
}
114114

115-
.user-orgs li {
115+
.user-orgs > li {
116116
display: flex;
117117
border-bottom: 0 !important;
118118
padding: 3px !important;

0 commit comments

Comments
 (0)