Browse Source

Fix max-width of selection dropdowns (#11144)

Fix a regression added by
https://github.com/go-gitea/gitea/pull/10897/files.
for-closed-social
silverwind 4 years ago
committed by GitHub
parent
commit
842bba94ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web_src/less/_base.less

+ 1
- 1
web_src/less/_base.less View File

@ -1223,7 +1223,7 @@ i.icon.centerlock {
/* limit width of all direct dropdown menu children */ /* limit width of all direct dropdown menu children */
/* https://github.com/go-gitea/gitea/pull/10835 */ /* https://github.com/go-gitea/gitea/pull/10835 */
.dropdown > .menu > * {
.dropdown:not(.selection) > .menu > * {
max-width: 300px; max-width: 300px;
overflow-x: hidden; overflow-x: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

Loading…
Cancel
Save