Skip to content

Commit

Permalink
Fix scrollable header on dropdowns (#11893)
Browse files Browse the repository at this point in the history
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
  • Loading branch information
4 people authored Jun 18, 2020
1 parent 5fcd18a commit 1fb783e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1fb783e

Please sign in to comment.