aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-11-08 03:30:39 +0100
committerGitHub <noreply@github.com>2023-11-08 02:30:39 +0000
commit6447b3e6b29c8cb264a1ba1db034350a3c4fbd1b (patch)
tree5511d3bb9c9801dffad20033c500bd4d5ab8f8e2 /templates
parent8ef169a173c24e5ab57de8d6638bb6786e378a3d (diff)
downloadgitea-6447b3e6b29c8cb264a1ba1db034350a3c4fbd1b.tar.gz
gitea-6447b3e6b29c8cb264a1ba1db034350a3c4fbd1b.zip
Use flex-container on user dashboard (#27956)
Same as https://github.com/go-gitea/gitea/pull/26046 but for user dashboard, the sidebar got a bit smaller and there is less padding between sections. <img width="1265" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/0c8d2faa-03ec-4515-a4f2-0a106ef2a928">
Diffstat (limited to 'templates')
-rw-r--r--templates/user/dashboard/issues.tmpl6
-rw-r--r--templates/user/dashboard/milestones.tmpl6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 269ef39f84..aea26605dd 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -2,8 +2,8 @@
<div role="main" aria-label="{{.Title}}" class="page-content dashboard issues">
{{template "user/dashboard/navbar" .}}
<div class="ui container">
- <div class="ui stackable grid">
- <div class="four wide column">
+ <div class="flex-container">
+ <div class="flex-container-nav">
<div class="ui secondary vertical filter menu gt-bg-transparent">
<a class="{{if eq .ViewType "your_repositories"}}active{{end}} item" href="{{.Link}}?type=your_repositories&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}">
{{ctx.Locale.Tr "home.issues.in_your_repos"}}
@@ -59,7 +59,7 @@
{{end}}
</div>
</div>
- <div class="twelve wide column content">
+ <div class="flex-container-main content">
<div class="list-header">
<div class="small-menu-items ui compact tiny menu list-header-toggle">
<a class="item{{if not .IsShowClosed}} active{{end}}" href="{{.Link}}?type={{$.ViewType}}&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state=open&q={{$.Keyword}}">
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl
index 90be082f0f..390457a60a 100644
--- a/templates/user/dashboard/milestones.tmpl
+++ b/templates/user/dashboard/milestones.tmpl
@@ -2,8 +2,8 @@
<div role="main" aria-label="{{.Title}}" class="page-content dashboard issues repository milestones">
{{template "user/dashboard/navbar" .}}
<div class="ui container">
- <div class="ui stackable grid">
- <div class="four wide column">
+ <div class="flex-container">
+ <div class="flex-container-nav">
<div class="ui secondary vertical filter menu gt-bg-transparent">
<div class="item">
{{ctx.Locale.Tr "home.issues.in_your_repos"}}
@@ -33,7 +33,7 @@
{{end}}
</div>
</div>
- <div class="twelve wide column content">
+ <div class="flex-container-main content">
<div class="list-header">
<div class="small-menu-items ui compact tiny menu list-header-toggle">
<a class="item{{if not .IsShowClosed}} active{{end}}" href="{{.Link}}?repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state=open&q={{$.Keyword}}">