1
0
Fork 0
forked from forgejo/forgejo

[MODERATION] Modernize frontend (squash)

- Unify blocked users list.
- Use the new flex list classes for blocked users list to avoid using
the CSS helper classes and thereby be consistent in the design.
- Fix the modal by using the new modal class.
- Remove the icon in the modal as looks too big in the new design.
- Fix avatar not displaying as it was passing the context where the user
should've been passed.
- Don't use italics for 'Blocked since' text.
- Use namelink template to display the user's name and homelink.
This commit is contained in:
Gusted 2023-09-10 04:03:15 +02:00
parent 44d00650ce
commit ec935a16a3
No known key found for this signature in database
GPG key ID: FD821B732837125F
5 changed files with 48 additions and 63 deletions

View file

@ -167,20 +167,17 @@
}
.organization.teams .repositories .item,
.organization.teams .members .item,
.organization.settings .blocked-users .item {
.organization.teams .members .item {
padding: 10px 19px;
}
.organization.teams .repositories .item:not(:last-child),
.organization.teams .members .item:not(:last-child),
.organization.settings .blocked-users .item:not(:last-child) {
.organization.teams .members .item:not(:last-child) {
border-bottom: 1px solid var(--color-secondary);
}
.organization.teams .repositories .item .button,
.organization.teams .members .item .button,
.organization.settings .blocked-users .item button {
.organization.teams .members .item .button {
padding: 9px 10px;
margin: 0;
}