Skip to content

Commit

Permalink
UI: Dashboard tweaks (#5974)
Browse files Browse the repository at this point in the history
- Don't show divider below heatmap when it's hidden via media-query
- Make divider between user menu adhere to container width
- Remove excessiv margins on heatmap
  • Loading branch information
silverwind authored and zeripath committed Feb 6, 2019
1 parent f286a5a commit 0c721fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,9 @@ footer {
margin-bottom: 2px !important;
}

#user-heatmap{
#user-heatmap {
width: 107%; // Fixes newest contributions not showing
text-align: center;
margin: 40px 0 30px;

svg:not(:root) {
overflow: inherit;
Expand Down
4 changes: 2 additions & 2 deletions templates/user/dashboard/dashboard.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
<div class="ui container">
{{template "base/alert" .}}
<div class="ui mobile reversed stackable grid">
<div class="ten wide column">
<div class="ui container ten wide column">
{{if .EnableHeatmap}}
<div id="user-heatmap" style="padding-right: 40px">
<activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser">
<div slot="loading">
<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div>
</div>
</activity-heatmap>
<div class="ui divider"></div>
</div>
<div class="ui divider"></div>
{{end}}
{{template "user/dashboard/feeds" .}}
</div>
Expand Down

0 comments on commit 0c721fe

Please sign in to comment.