mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 00:20:50 +00:00
[v7.0/forgejo] ui: fix issue labels
* Fixes https://codeberg.org/forgejo/forgejo/issues/4522 * Fixes https://codeberg.org/forgejo/forgejo/issues/4522#issuecomment-2095542 * Fixes https://codeberg.org/forgejo/forgejo/issues/4544 * Fixes regression of https://codeberg.org/forgejo/forgejo/pulls/4486 * Fixes regression of some cherry-pick * Fixes an overflow that wasn't even reported * Revert changes done in https://codeberg.org/forgejo/forgejo/pulls/4486. * Apply changes proposed in https://codeberg.org/forgejo/forgejo/issues/3875#issuecomment-1840611. * Introduce new label `ugc-labels` to mark ui labels that are named by users and therefore need special care. Currently the generic label classes are used for too many things to work with them directly without affecting other UI.
This commit is contained in:
parent
8d8cd3aad8
commit
2dc87d389d
4 changed files with 22 additions and 26 deletions
|
@ -98,6 +98,15 @@ a.ui.label:hover {
|
|||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.ugc-labels .item {
|
||||
text-overflow: unset !important;
|
||||
}
|
||||
|
||||
.ugc-labels .item .ui.label {
|
||||
text-wrap: auto;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.ui.basic.label {
|
||||
background: var(--color-button);
|
||||
border: 1px solid var(--color-light-border);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue