Fix issue filter menu layout (#36426)

Fix #36420
This commit is contained in:
wxiaoguang
2026-01-22 10:22:20 +08:00
committed by GitHub
parent 6a5f9e12f9
commit 85c7901404
3 changed files with 7 additions and 5 deletions

View File

@@ -95,8 +95,9 @@
}
}
/* make all issue filter dropdown menus popup leftward, to avoid go out the viewport (right side) */
.repository .filter.menu .ui.dropdown .menu {
/* make all issue filter dropdown (user dashboard, repo issue list) menus popup leftward, to avoid go out the viewport (right side) */
.list-header-filters .ui.dropdown .menu,
.issue-list-toolbar .ui.dropdown .menu {
max-height: 500px;
max-width: 300px;
overflow-x: hidden;
@@ -105,7 +106,8 @@
}
/* the label-filter is the first dropdown, it shouldn't be shown leftward, otherwise it may go out the viewport (left side) */
.repository .filter.menu .ui.dropdown.label-filter .menu {
.list-header-filters .ui.dropdown.label-filter .menu,
.issue-list-toolbar .ui.dropdown.label-filter .menu {
min-width: max-content;
right: unset;
left: 0;