Skip to content

Commit 5689d9f

Browse files
author
Gusted
committed
Have nice issue/pulls list headers
1 parent a8306a3 commit 5689d9f

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

templates/repo/issue/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="page-content repository">
33
{{template "repo/header" .}}
44
<div class="ui container">
5-
<div class="ui three column stackable grid">
5+
<div class="ui three column grid issue-list-headers">
66
<div class="column">
77
{{template "repo/issue/navbar" .}}
88
</div>

web_src/less/_repository.less

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3237,3 +3237,22 @@ td.blob-excerpt {
32373237
transform: scale(105%);
32383238
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
32393239
}
3240+
3241+
@media @mediaSm {
3242+
.issue-list-headers.ui[class].grid {
3243+
> div:nth-child(1) {
3244+
order: 1;
3245+
width: 50%;
3246+
}
3247+
3248+
> div:nth-child(2) {
3249+
order: 3;
3250+
width: 100%;
3251+
}
3252+
3253+
> div.column:not(.row):nth-child(3) {
3254+
order: 2;
3255+
width: 50%;
3256+
}
3257+
}
3258+
}

0 commit comments

Comments
 (0)