From 90053ce27930f36e6272ac6dd411b0a4ae639e5e Mon Sep 17 00:00:00 2001 From: sebastian-sauer Date: Fri, 14 Jul 2023 03:54:20 +0200 Subject: [PATCH] Don't stack PR tab menu on small screens (#25789) the stacking takes up screen space - display the tabs as the navigation bar. github uses the same layout. Screenshots (left before, right after): ![image](https://github.com/go-gitea/gitea/assets/1135157/d7e2aaec-c67b-403d-8d56-d4c824b04eed) ![image](https://github.com/go-gitea/gitea/assets/1135157/9e150881-c265-4074-afd7-407bb52e1934) Large screen: ![image](https://github.com/go-gitea/gitea/assets/1135157/d5cbdaa3-2962-4c4f-9595-5938981ff99e) (cherry picked from commit b81c01305714ceca818ccb91d19dada6469e658c) --- templates/repo/pulls/tab_menu.tmpl | 5 ++++- web_src/css/repo.css | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/repo/pulls/tab_menu.tmpl b/templates/repo/pulls/tab_menu.tmpl index b55b3b0040..ef6bc4e082 100644 --- a/templates/repo/pulls/tab_menu.tmpl +++ b/templates/repo/pulls/tab_menu.tmpl @@ -1,4 +1,5 @@ -