loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use flex-container for repo and org settings (#27418)

Same as https://github.com/go-gitea/gitea/pull/26046 but for repo and
org settings pages, reducing the margins between the boxes:

<img width="1247" alt="Screenshot 2023-10-03 at 23 25 19"
src="https://github.com/go-gitea/gitea/assets/115237/4e68ad5e-5fdc-4466-aefb-ec71bf411d45">
<img width="1255" alt="Screenshot 2023-10-03 at 23 27 12"
src="https://github.com/go-gitea/gitea/assets/115237/9068369b-a75d-401e-8b8d-3bd4bbe097dc">

Co-authored-by: Giteabot <teabot@gitea.io>

authored by

silverwind
Giteabot
and committed by
GitHub
cbc0b730 112f37c5

+6 -6
+2 -2
templates/org/settings/layout_head.tmpl
··· 1 1 {{template "base/head" .ctxData}} 2 2 <div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}"> 3 3 {{template "org/header" .ctxData}} 4 - <div class="ui container stackable grid"> 4 + <div class="ui container flex-container"> 5 5 {{template "org/settings/navbar" .ctxData}} 6 - <div class="twelve wide column"> 6 + <div class="flex-container-main"> 7 7 {{template "base/alert" .ctxData}} 8 8 {{/* block: org-setting-content */}} 9 9
+1 -1
templates/org/settings/navbar.tmpl
··· 1 - <div class="four wide column"> 1 + <div class="flex-container-nav"> 2 2 <div class="ui fluid vertical menu"> 3 3 <div class="header item">{{ctx.Locale.Tr "org.settings"}}</div> 4 4 <a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.OrgLink}}/settings">
+2 -2
templates/repo/settings/layout_head.tmpl
··· 1 1 {{template "base/head" .ctxData}} 2 2 <div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}"> 3 3 {{template "repo/header" .ctxData}} 4 - <div class="ui container stackable grid"> 4 + <div class="ui container flex-container"> 5 5 {{template "repo/settings/navbar" .ctxData}} 6 - <div class="twelve wide column"> 6 + <div class="flex-container-main"> 7 7 {{template "base/alert" .ctxData}} 8 8 {{/* block: repo-setting-content */}} 9 9
+1 -1
templates/repo/settings/navbar.tmpl
··· 1 - <div class="four wide column"> 1 + <div class="flex-container-nav"> 2 2 <div class="ui fluid vertical menu"> 3 3 <div class="header item">{{ctx.Locale.Tr "repo.settings"}}</div> 4 4 <a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">