Fix max-width of selection dropdowns (#11144)

Fix a regression added by
https://github.com/go-gitea/gitea/pull/10897/files.
This commit is contained in:
silverwind 2020-04-20 00:24:46 +02:00 committed by GitHub
parent 77fecec64f
commit 842bba94ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;