Skip to content

Commit

Permalink
Fix charts position on dashbord page [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovanton committed Mar 24, 2015
1 parent 2b34b9d commit 8a95843
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions web/assets/stylesheets/application.css
Expand Up @@ -581,6 +581,10 @@ div.interval-slider input {
}
}

.chart {
margin: 0;
}

.history-heading {
padding-right: 15px;
}
Expand Down
4 changes: 2 additions & 2 deletions web/views/dashboard.erb
Expand Up @@ -15,12 +15,12 @@
</div>
</div>

<div class="row">
<div class="row chart">
<div id="realtime" data-processed-label="<%= t('Processed') %>" data-failed-label="<%= t('Failed') %>"></div>
<div id="realtime-legend"></div>
</div>

<div class="row">
<div class="row chart">
<h5>
<span class="history-heading"><%= t('History') %></span>
<a href="<%= root_path %>?days=7" class="history-graph <%= "active" if params[:days] == "7" %>"><%= t('OneWeek') %></a>
Expand Down

0 comments on commit 8a95843

Please sign in to comment.