File tree 3 files changed +15
-9
lines changed
3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
{{template "base/head" .}}
2
2
<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
3
3
{{template "user/dashboard/navbar" .}}
4
- <div class="ui container">
4
+ <div class="ui container flex-container ">
5
5
{{template "base/alert" .}}
6
- <div class="ui mobile reversed stackable grid">
7
- <div class="ui container ten wide column">
8
- {{template "user/heatmap" .}}
9
- {{template "user/dashboard/feeds" .}}
10
- </div>
11
- {{template "user/dashboard/repolist" .}}
6
+ <div class="flex-container-main">
7
+ {{template "user/heatmap" .}}
8
+ {{template "user/dashboard/feeds" .}}
12
9
</div>
10
+ {{template "user/dashboard/repolist" .}}
13
11
</div>
14
12
</div>
15
13
{{template "base/footer" .}}
Original file line number Diff line number Diff line change @@ -56,4 +56,4 @@ data.organizationId = {{.ContextUser.ID}};
56
56
window.config.pageData.dashboardRepoList = data;
57
57
</script>
58
58
59
- <div id="dashboard-repo-list" class="six wide column "></div>
59
+ <div id="dashboard-repo-list" class="flex-container-sidebar "></div>
Original file line number Diff line number Diff line change 6
6
margin-top : var (--page-spacing );
7
7
}
8
8
9
+ /* small options menu on the left, used in settings/admin pages */
9
10
.flex-container-nav {
10
11
width : 240px ;
11
12
}
12
13
14
+ /* wide sidebar on the right, used in frontpage */
15
+ .flex-container-sidebar {
16
+ width : 35% ;
17
+ }
18
+
13
19
.flex-container-main {
14
20
flex : 1 ;
15
21
min-width : 0 ; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
19
25
.flex-container {
20
26
flex-direction : column;
21
27
}
22
- .flex-container-nav {
28
+ .flex-container-nav ,
29
+ .flex-container-sidebar {
30
+ order : -1 ;
23
31
width : auto;
24
32
}
25
33
}
You can’t perform that action at this time.
0 commit comments