Skip to content

Commit b74c613

Browse files
GustedSysoev, Vladimir
Gusted
authored and
Sysoev, Vladimir
committed
Fix dashboard switching on Mobile (go-gitea#20238)
- This is a regression of improving mobile experience on Gitea, currently organization dashboard aren't readable and the popup won't show up when you want to switch between users/organization(as we saw in go-gitea#19978). - This patch fixes that, by allowing the popup to allocate the required pixels(for some absurd reason, z-index doesn't work on the popup, so it's not able to render over the existing elements, we can investigate later of why this is). And also remove the additional dropdown menu for the pages link, so it's one unified list which then can be displayed as rows.
1 parent abec76d commit b74c613

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

web_src/less/_base.less

+4
Original file line numberDiff line numberDiff line change
@@ -2206,6 +2206,10 @@ table th[data-sortt-desc] {
22062206
> .dropdown.item {
22072207
position: initial;
22082208
}
2209+
2210+
.menu {
2211+
flex-direction: row;
2212+
}
22092213
}
22102214
}
22112215

web_src/less/_dashboard.less

+6
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181

8282
.ui.dropdown {
8383
max-width: 100%;
84+
85+
@media @mediaSm {
86+
> .menu {
87+
position: static;
88+
}
89+
}
8490
}
8591
}
8692
}

0 commit comments

Comments
 (0)