Skip to content

Commit

Permalink
Have nice issue/pulls list headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted committed Apr 26, 2022
1 parent a8306a3 commit 5689d9f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="page-content repository">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui three column stackable grid">
<div class="ui three column grid issue-list-headers">
<div class="column">
{{template "repo/issue/navbar" .}}
</div>
Expand Down
19 changes: 19 additions & 0 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}
}
}

0 comments on commit 5689d9f

Please sign in to comment.