-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't stack PR tab menu on small screens #25789
Don't stack PR tab menu on small screens #25789
Conversation
the stacking takes up screen space - display the tabs as the navigation bar. github uses the same layout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please do it in the CSS file?
Line 750 in be23b73
margin-bottom: 1rem; |
sorry - not sure what I should do in the CSS file? |
Please set overflow-x: auto;
overflow-y: hidden; inside the existing CSS class for |
I am afraid this change is not right on desktop view. IIRC the "bottom line" of the menu would be broken |
Good catch - i've now added a divider below and fixed layout for large screens. Screenshots in PR description are updated. diff ignoring whitespace change: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now in both mobile and desktop view 👍
* giteaofficial/main: Fix incorrect release count (go-gitea#25879) Add Github related extensions in devcontainer (go-gitea#25800) Add error info if no user can fork the repo (go-gitea#25820) Fix wrong usage of PathEscapeSegments in branch list page (go-gitea#25864) fix incorrect repo url when changed the case of ownername (go-gitea#25733) Upgrade go dependencies (go-gitea#25819) Don't stack PR tab menu on small screens (go-gitea#25789) Link to list of vulnerabilities (go-gitea#25872) [skip ci] Updated translations via Crowdin move issue filters to shared template (go-gitea#25729) [skip ci] Updated translations via Crowdin Remove `git.FileBlame` (go-gitea#25841) Fix empty project displayed in issue sidebar (go-gitea#25802) Update blog links (go-gitea#25843) Fix margin on the `new/edit milestone` page (go-gitea#25801) Do not "guess" the file encoding/BOM when using API to upload files (go-gitea#25828)
the stacking takes up screen space - display the tabs as the navigation bar. github uses the same layout.
Screenshots (left before, right after):
Large screen: