Fix max-width of selection dropdowns (#11144)

Fix a regression added by
https://github.com/go-gitea/gitea/pull/10897/files.
tokarchuk/v1.17
silverwind 5 years ago committed by GitHub
parent 77fecec64f
commit 842bba94ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/less/_base.less

@ -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