1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix charts position on dashbord page [skip ci]

This commit is contained in:
Anton Davydov 2015-03-25 01:43:16 +03:00
parent 2b34b9d38e
commit 8a95843692
2 changed files with 6 additions and 2 deletions

View file

@ -581,6 +581,10 @@ div.interval-slider input {
} }
} }
.chart {
margin: 0;
}
.history-heading { .history-heading {
padding-right: 15px; padding-right: 15px;
} }

View file

@ -15,12 +15,12 @@
</div> </div>
</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" data-processed-label="<%= t('Processed') %>" data-failed-label="<%= t('Failed') %>"></div>
<div id="realtime-legend"></div> <div id="realtime-legend"></div>
</div> </div>
<div class="row"> <div class="row chart">
<h5> <h5>
<span class="history-heading"><%= t('History') %></span> <span class="history-heading"><%= t('History') %></span>
<a href="<%= root_path %>?days=7" class="history-graph <%= "active" if params[:days] == "7" %>"><%= t('OneWeek') %></a> <a href="<%= root_path %>?days=7" class="history-graph <%= "active" if params[:days] == "7" %>"><%= t('OneWeek') %></a>