diff options
author | silverwind <me@silverwind.io> | 2023-06-09 11:10:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 09:10:51 +0000 |
commit | 6a075589bf2aefeeee67613c76b750628ce1618e (patch) | |
tree | 2fa80b2b1a7e1691f1479df1fe3d6c99c02ab6a5 /templates/org | |
parent | 623b3b590e0bcf0460c6cd9376996cb6fe221747 (diff) | |
download | gitea-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/org')
-rw-r--r-- | templates/org/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 97047c71cc..d540f80352 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -19,7 +19,7 @@ {{if .Org.Website}}<div class="item">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}} </div> </div> - <div class="right stackable menu"> + <div class="right menu"> <form method="post" action="{{.Link}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}&redirect_to={{$.Link}}"> {{$.CsrfTokenHtml}} <button type="submit" class="ui basic button gt-mr-0"> |