Browse Source

Fix scrollable header on dropdowns (#11893)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
for-closed-social
Cirno the Strongest 4 years ago
committed by GitHub
parent
commit
1fb783efb0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web_src/less/_base.less

+ 1
- 1
web_src/less/_base.less 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;

Loading…
Cancel
Save