From 5689d9f3628d11888bded8cbe8eed51d7333df29 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 27 Apr 2022 01:47:59 +0200 Subject: [PATCH] Have nice issue/pulls list headers --- templates/repo/issue/list.tmpl | 2 +- web_src/less/_repository.less | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 63d746f570a1..ba7f1c1480b1 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -2,7 +2,7 @@
{{template "repo/header" .}}
-
+
{{template "repo/issue/navbar" .}}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 004d91da881d..7cf1607390e9 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3237,3 +3237,22 @@ td.blob-excerpt { transform: scale(105%); box-shadow: 0 .5rem 1rem var(--color-shadow) !important; } + +@media @mediaSm { + .issue-list-headers.ui[class].grid { + > div:nth-child(1) { + order: 1; + width: 50%; + } + + > div:nth-child(2) { + order: 3; + width: 100%; + } + + > div.column:not(.row):nth-child(3) { + order: 2; + width: 50%; + } + } +}