Browse Source

Fix: Reduce chart padding on mobile

pull/230/head
Nelson Chan 4 years ago
parent
commit
d8bcfcaaa2
  1. 6
      src/pages/Details.vue

6
src/pages/Details.vue

@ -74,7 +74,7 @@
</div> </div>
</div> </div>
<div v-if="showPingChartBox" class="shadow-box big-padding text-center"> <div v-if="showPingChartBox" class="shadow-box big-padding text-center ping-chart-wrapper">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<PingChart :monitor-id="monitor.id" /> <PingChart :monitor-id="monitor.id" />
@ -337,6 +337,10 @@ export default {
margin-left: 10px !important; margin-left: 10px !important;
margin-right: 10px !important; margin-right: 10px !important;
} }
.ping-chart-wrapper {
padding: 10px !important;
}
} }
@media (max-width: 400px) { @media (max-width: 400px) {

Loading…
Cancel
Save