File tree Expand file tree Collapse file tree 16 files changed +105
-16
lines changed Expand file tree Collapse file tree 16 files changed +105
-16
lines changed Original file line number Diff line number Diff line change 10
10
</div>
11
11
</h4>
12
12
<div class="ui attached table segment">
13
- <table class="ui very basic striped table">
13
+ <table class="ui very basic striped table unstackable ">
14
14
<thead>
15
15
<tr>
16
16
<th>ID</th>
Original file line number Diff line number Diff line change 3
3
</h4>
4
4
<div class="ui attached table segment">
5
5
<form method="post" action="{{AppSubUrl}}/admin">
6
- <table class="ui very basic striped table">
6
+ <table class="ui very basic striped table unstackable ">
7
7
<thead>
8
8
<tr>
9
9
<th></th>
Original file line number Diff line number Diff line change 30
30
</form>
31
31
</div>
32
32
<div class="ui attached table segment">
33
- <table class="ui very basic striped table">
33
+ <table class="ui very basic striped table unstackable ">
34
34
<thead>
35
35
<tr>
36
36
<th data-sortt-asc="username" data-sortt-desc="reverseusername">
Original file line number Diff line number Diff line change 8
8
{{.i18n.Tr "admin.monitor.queues"}}
9
9
</h4>
10
10
<div class="ui attached table segment">
11
- <table class="ui very basic striped table">
11
+ <table class="ui very basic striped table unstackable ">
12
12
<thead>
13
13
<tr>
14
14
<th>{{.i18n.Tr "admin.monitor.queue.name"}}</th>
Original file line number Diff line number Diff line change 7
7
{{.i18n.Tr "admin.notices.system_notice_list"}} ({{.i18n.Tr "admin.total" .Total}})
8
8
</h4>
9
9
<div class="ui attached table segment">
10
- <table id="notice-table" class="ui very basic select selectable table">
10
+ <table id="notice-table" class="ui very basic select selectable table unstackable ">
11
11
<thead>
12
12
<tr>
13
13
<th></th>
Original file line number Diff line number Diff line change 13
13
{{template "admin/base/search" .}}
14
14
</div>
15
15
<div class="ui attached table segment">
16
- <table class="ui very basic striped table">
16
+ <table class="ui very basic striped table unstackable ">
17
17
<thead>
18
18
<tr>
19
19
<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th>
Original file line number Diff line number Diff line change 29
29
</form>
30
30
</div>
31
31
<div class="ui attached table segment">
32
- <table class="ui very basic striped table">
32
+ <table class="ui very basic striped table unstackable ">
33
33
<thead>
34
34
<tr>
35
35
<th>ID</th>
Original file line number Diff line number Diff line change 13
13
{{template "admin/repo/search" .}}
14
14
</div>
15
15
<div class="ui attached table segment">
16
- <table class="ui very basic striped table">
16
+ <table class="ui very basic striped table unstackable ">
17
17
<thead>
18
18
<tr>
19
19
<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th>
Original file line number Diff line number Diff line change 61
61
</form>
62
62
</div>
63
63
<div class="ui attached table segment">
64
- <table class="ui very basic striped table">
64
+ <table class="ui very basic striped table unstackable ">
65
65
<thead>
66
66
<tr>
67
67
<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" .SortType false}}</th>
Original file line number Diff line number Diff line change 2
2
<div class="page-content repository">
3
3
{{template "repo/header" .}}
4
4
<div class="ui container">
5
- <div class="ui three column stackable grid">
5
+ <div class="ui three column grid issue-list-headers ">
6
6
<div class="column">
7
7
{{template "repo/issue/navbar" .}}
8
8
</div>
Original file line number Diff line number Diff line change 2
2
<div class="page-content repository view issue pull">
3
3
{{template "repo/header" .}}
4
4
<div class="ui container">
5
- <div class="ui two column stackable grid">
5
+ <div class="ui two column grid">
6
6
<div class="column">
7
7
{{template "repo/issue/navbar" .}}
8
8
</div>
Original file line number Diff line number Diff line change 41
41
{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" (.Repository.OriginalURL|Escape) (.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}
42
42
</span>
43
43
{{else}}
44
+ <a class="inline-timeline-avatar" href="{{.Issue.Poster.HomeLink}}">
45
+ {{avatar .Issue.Poster}}
46
+ </a>
44
47
<span class="text grey">
45
48
<a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a>
46
49
{{.i18n.Tr "repo.issues.commented_at" (.Issue.HashTag|Escape) $createdStr | Safe}}
50
53
<div class="comment-header-right actions df ac">
51
54
{{if gt .Issue.ShowRole 0}}
52
55
{{if (.Issue.ShowRole.HasRole "Writer")}}
53
- <div class="ui basic label">
56
+ <div class="ui basic label role-label ">
54
57
{{$.i18n.Tr "repo.issues.collaborator"}}
55
58
</div>
56
59
{{end}}
57
60
{{if (.Issue.ShowRole.HasRole "Owner")}}
58
- <div class="ui basic label">
61
+ <div class="ui basic label role-label ">
59
62
{{$.i18n.Tr "repo.issues.owner"}}
60
63
</div>
61
64
{{end}}
Original file line number Diff line number Diff line change 35
35
({{$.i18n.Tr "repo.migrated_from" ($.Repository.OriginalURL|Escape) ($.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}
36
36
</span>
37
37
{{else}}
38
+ {{if gt .Poster.ID 0}}
39
+ <a class="inline-timeline-avatar" href="{{.Poster.HomeLink}}">
40
+ {{avatar .Poster}}
41
+ </a>
42
+ {{end}}
38
43
<span class="text grey">
39
44
<a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
40
45
{{.Poster.GetDisplayName}}
Original file line number Diff line number Diff line change 12
12
.table.segment {
13
13
padding : 0 ;
14
14
font-size : 13px ;
15
+ overflow-x : scroll ;
15
16
16
17
& :not (.striped ) {
17
18
thead {
62
63
63
64
dd {
64
65
margin-left : 275px ;
66
+ @media @mediaSm {
67
+ margin-left : 5% ;
68
+ }
65
69
}
66
70
67
71
dt {
72
76
overflow : hidden ;
73
77
text-overflow : ellipsis ;
74
78
white-space : nowrap ;
79
+
80
+ @media @mediaSm {
81
+ width : auto ;
82
+ margin-right : .5em ;
83
+ }
75
84
}
76
85
}
77
86
Original file line number Diff line number Diff line change 861
861
}
862
862
}
863
863
864
+ /* Don't show the mobile oriented avatar ".inline-timeline-avatar" on desktop. Desktop uses the avatar with class ".timeline-avatar" */
865
+ .inline-timeline-avatar {
866
+ display : none ;
867
+ }
868
+
864
869
.avatar.image ,
865
870
.avatar.image img {
866
871
width : 20px ;
1655
1660
@media (max-width : 480px ) {
1656
1661
padding-top : .25rem ;
1657
1662
1658
- .ui.button {
1663
+ .ui.button : not ( .btn-submit ) {
1659
1664
padding-left : .5rem ;
1660
1665
padding-right : .5rem ;
1661
1666
display : flex ;
2662
2667
background : var (--color-box-header );
2663
2668
border-bottom : 1px solid var (--color-secondary ) !important ;
2664
2669
font-weight : normal !important ;
2665
- padding : .5rem 1rem !important ;
2670
+ padding : .5rem 1rem ;
2666
2671
margin : 0 !important ;
2667
2672
position : relative ;
2668
2673
color : var (--color-text-light-2 );
@@ -2965,8 +2970,11 @@ tbody.commit-list {
2965
2970
}
2966
2971
2967
2972
.repo-buttons {
2968
- display : flex ;
2969
2973
align-items : center ;
2974
+ display : flex ;
2975
+ flex-direction : row ;
2976
+ flex-wrap : wrap ;
2977
+ word-break : keep-all ;
2970
2978
2971
2979
@media @mediaSm {
2972
2980
margin-top : 1em ;
@@ -3011,6 +3019,11 @@ tbody.commit-list {
3011
3019
pointer-events : none !important ;
3012
3020
}
3013
3021
}
3022
+ @media @mediaSm {
3023
+ .svg {
3024
+ display : none ;
3025
+ }
3026
+ }
3014
3027
}
3015
3028
3016
3029
.tag-code {
@@ -3260,4 +3273,59 @@ td.blob-excerpt {
3260
3273
}
3261
3274
}
3262
3275
}
3276
+ .issue-list-headers.ui [class].grid {
3277
+ > div :nth- child(1 ) {
3278
+ order : 1 ;
3279
+ width : 50% ;
3280
+ }
3281
+
3282
+ > div :nth- child(2 ) {
3283
+ order : 3 ;
3284
+ width : 100% ;
3285
+ }
3286
+
3287
+ > div .column :not (.row ):nth- child(3 ) {
3288
+ order : 2 ;
3289
+ width : 50% ;
3290
+ }
3291
+ }
3292
+
3293
+ .repository.view.issue .comment-list {
3294
+ .timeline ,
3295
+ .timeline-item {
3296
+ margin-left : 0 ;
3297
+ }
3298
+
3299
+ .timeline {
3300
+ & ::before {
3301
+ left : 14px ;
3302
+ }
3303
+
3304
+ .inline-timeline-avatar {
3305
+ display : flex ;
3306
+ margin-bottom : auto ;
3307
+
3308
+ img .avatar.image {
3309
+ height : 24px ;
3310
+ width : 24px ;
3311
+ }
3312
+ }
3313
+
3314
+ .comment-header {
3315
+ & ::before ,
3316
+ & ::after {
3317
+ content : unset ;
3318
+ }
3319
+
3320
+ padding-left : 4px ;
3321
+ }
3322
+
3323
+ /* Don't show the general avatar, we show the inline avatar on mobile.
3324
+ * And don't show the role labels, there's no place for that. */
3325
+ .timeline-avatar ,
3326
+ .comment-header-right .role-label {
3327
+ display : none ;
3328
+ }
3329
+ }
3330
+ }
3263
3331
}
Original file line number Diff line number Diff line change 175
175
max-width : 60px ;
176
176
}
177
177
}
178
+
179
+ #notification_div .tab.segment {
180
+ overflow-x : scroll ;
181
+ }
You can’t perform that action at this time.
0 commit comments