UI: Dashboard tweaks (#5974)

- 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
tokarchuk/v1.17
silverwind 6 years ago committed by zeripath
parent f286a5abb4
commit 0c721fe016
  1. 2
      public/css/index.css
  2. 1
      public/less/_base.less
  3. 4
      templates/user/dashboard/dashboard.tmpl

File diff suppressed because one or more lines are too long

@ -601,7 +601,6 @@ footer {
#user-heatmap { #user-heatmap {
width: 107%; // Fixes newest contributions not showing width: 107%; // Fixes newest contributions not showing
text-align: center; text-align: center;
margin: 40px 0 30px;
svg:not(:root) { svg:not(:root) {
overflow: inherit; overflow: inherit;

@ -4,7 +4,7 @@
<div class="ui container"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<div class="ui mobile reversed stackable grid"> <div class="ui mobile reversed stackable grid">
<div class="ten wide column"> <div class="ui container ten wide column">
{{if .EnableHeatmap}} {{if .EnableHeatmap}}
<div id="user-heatmap" style="padding-right: 40px"> <div id="user-heatmap" style="padding-right: 40px">
<activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser"> <activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser">
@ -12,8 +12,8 @@
<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div> <div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div>
</div> </div>
</activity-heatmap> </activity-heatmap>
</div>
<div class="ui divider"></div> <div class="ui divider"></div>
</div>
{{end}} {{end}}
{{template "user/dashboard/feeds" .}} {{template "user/dashboard/feeds" .}}
</div> </div>

Loading…
Cancel
Save