Fix scrollable header on dropdowns (#11893)

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
This commit is contained in:
Cirno the Strongest
2020-06-18 13:16:26 -04:00
committed by GitHub
co-authored by Lunny Xiao techknowlogick Lauris BH
parent 5fcd18a2c4
commit 1fb783efb0
+1 -1
View File
@@ -1239,7 +1239,7 @@ i.icon.centerlock {
/* limit width of all direct dropdown menu children */
/* https://github.com/go-gitea/gitea/pull/10835 */
.dropdown:not(.selection) > .menu:not(.review-box) > * {
.dropdown:not(.selection) > .menu:not(.review-box) > *:not(.header) {
max-width: 300px;
overflow-x: hidden;
text-overflow: ellipsis;