aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-09 11:10:51 +0200
committerGitHub <noreply@github.com>2023-06-09 09:10:51 +0000
commit6a075589bf2aefeeee67613c76b750628ce1618e (patch)
tree2fa80b2b1a7e1691f1479df1fe3d6c99c02ab6a5 /templates/status
parent623b3b590e0bcf0460c6cd9376996cb6fe221747 (diff)
downloadgitea-6a075589bf2aefeeee67613c76b750628ce1618e.tar.gz
gitea-6a075589bf2aefeeee67613c76b750628ce1618e.zip
Fix mobile navbar and misc cleanups (#25134)
- Fix and improve mobile navbar layout - Apply all cleanups suggested in https://github.com/go-gitea/gitea/pull/25111 - Make media query breakpoints match Fomantic's exactly - Clean up whitespace in class on navbar items Mobile navbar before and after: <img width="745" alt="Screenshot 2023-06-08 at 08 40 56" src="https://github.com/go-gitea/gitea/assets/115237/ca84b239-b10f-41db-8c06-dcf2b6dd9d28"> <img width="739" alt="Screenshot 2023-06-08 at 08 41 23" src="https://github.com/go-gitea/gitea/assets/115237/09133c54-eb7e-4110-858c-ead23c3b7521"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/status')
-rw-r--r--templates/status/500.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index dbe6ab7c89..b934910fe4 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -15,14 +15,16 @@
</head>
<body>
<div class="full height">
- <nav class="ui container secondary stackable main menu" id="navbar">
+ <nav class="ui secondary menu gt-border-secondary-bottom">
<div class="ui container gt-df">
- <div class="item brand gt-f1">
+ <div class="item gt-f1">
<a href="{{AppSubUrl}}/" aria-label="{{.locale.Tr "home"}}">
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}" aria-hidden="true">
</a>
</div>
- <button class="item ui icon button">{{svg "octicon-three-bars"}}</button>{{/* a fake button to make the UI looks better*/}}
+ <div class="item">
+ <button class="ui icon button disabled">{{svg "octicon-three-bars"}}</button>{{/* a fake button to make the UI looks better*/}}
+ </div>
</div>
</nav>
<div role="main" class="page-content status-page-500">