mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
By default force vertical tabs on mobile (#19486)
* By default force vertical tabs on mobile - While experimenting with using vertical tabs instead of horizontal tabs on gitea for a better mobile experience, I made a recent PR(https://github.com/go-gitea/gitea/pull/19468) in order to see if there was any objections to this new behavior for the repo headers(one of the most annoying horizontal tabs). This PR had no objections and even a user commenting that this change is brilliant. - This PR now improves upon the previous PR by making this the de-facto behavior for all menu's on mobile. The only exemption is the navbar which also uses the menu but caught some layout errors with the changes. * Fix organisation * Fix repo/wiki buttons Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@@ -3237,18 +3237,3 @@ td.blob-excerpt {
|
||||
transform: scale(105%);
|
||||
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
|
||||
}
|
||||
|
||||
@media @mediaSm {
|
||||
.repo-header-container {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
|
||||
.ui.stackable.menu {
|
||||
flex-direction: row;
|
||||
|
||||
.item {
|
||||
width: initial !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user