Fix some UI problems (dropdown/container) (#30849) (#30871)

Backport #30849 by wxiaoguang

Follow #30345
Follow #30547

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2024-05-06 15:45:04 +08:00 committed by GitHub
parent e2e326f154
commit b22d7fd8cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 246 additions and 205 deletions

View file

@ -2860,6 +2860,10 @@ tbody.commit-list {
margin-top: 4px;
}
.ui.dropdown.branch-selector-dropdown .scrolling.menu {
max-width: min(400px, 90vw);
}
.branch-selector-dropdown .branch-dropdown-button {
margin: 0;
max-width: 340px;
@ -2909,6 +2913,8 @@ tbody.commit-list {
}
.branch-selector-dropdown .menu .item .rss-icon {
position: absolute;
right: 4px;
visibility: hidden; /* only show RSS icon on hover */
}