diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-04 04:11:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 16:11:16 -0400 |
commit | 5ab1c7acecef981ab9f6ac43b245761efb0e8dbe (patch) | |
tree | 2c412968ac418d6e3723995e8dc1564341c31a3e | |
parent | 19de52e0f4cbd2d62f9d41589fe8815c2c3ceef2 (diff) | |
download | gitea-5ab1c7acecef981ab9f6ac43b245761efb0e8dbe.tar.gz gitea-5ab1c7acecef981ab9f6ac43b245761efb0e8dbe.zip |
Fix user profile description rendering (#23882)
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)
-rw-r--r-- | web_src/css/user.css | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web_src/css/user.css b/web_src/css/user.css index 620f1da0e2..51a8943355 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -15,26 +15,26 @@ padding: 0; } -.user.profile .ui.card .extra.content ul { +.user.profile .ui.card .extra.content > ul { margin: 0; padding: 0; } -.user.profile .ui.card .extra.content ul li { +.user.profile .ui.card .extra.content > ul > li { padding: 10px; list-style: none; } -.user.profile .ui.card .extra.content ul li:not(:last-child) { +.user.profile .ui.card .extra.content > ul > li:not(:last-child) { border-bottom: 1px solid var(--color-secondary); } -.user.profile .ui.card .extra.content ul li .svg { +.user.profile .ui.card .extra.content > ul > li .svg { margin-left: 1px; margin-right: 5px; } -.user.profile .ui.card .extra.content ul li.follow .ui.button { +.user.profile .ui.card .extra.content > ul > li.follow .ui.button { width: 100%; } @@ -117,7 +117,7 @@ margin: -3px !important; } -.user-orgs li { +.user-orgs > li { display: flex; border-bottom: 0 !important; padding: 3px !important; |