Fix scrollbar issues in dropdowns (#10897)

* Fix scrollbar issues in dropdowns

Fixes: https://github.com/go-gitea/gitea/pull/10835

* remove wrapping

* grammar

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
silverwindandguillep2k authored and GitHub committed 2020-04-04 18:29:15 -03:00
1 parent a0cc4b3d08
commit 6cf71ee0e8
2 files changed
+13 -9

No files matched your search

+8
View File
@@ -1220,3 +1220,11 @@ i.icon.centerlock {
.ui.attached.segment + .ui.attached.header {
margin-top: 1rem;
}
/* limit width of all direct dropdown menu children */
/* https://github.com/go-gitea/gitea/pull/10835 */
.dropdown > .menu > * {
max-width: 300px;
overflow-x: hidden;
text-overflow: ellipsis;
}