Browse Source

adopt bootstrap grid

g40st 8 years ago
parent
commit
4cefbe858d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      js/script.js

+ 2
- 2
js/script.js View File

117
 
117
 
118
 function generateGraph(flag, sensor, actTime) {
118
 function generateGraph(flag, sensor, actTime) {
119
     $('#contentPanel').append(`<div class="row">
119
     $('#contentPanel').append(`<div class="row">
120
-                                <div class="col-md-6 col-lg-6">
120
+                                <div class="col-sm-12 col-md-12 col-lg-6">
121
                                     <canvas id="temperaturChart"></canvas>
121
                                     <canvas id="temperaturChart"></canvas>
122
                                 </div>
122
                                 </div>
123
-                                <div class="col-md-6 col-lg-6">
123
+                                <div class="col-sm-12 col-md-12 col-lg-6">
124
                                     <canvas id="humidityChart"></canvas>
124
                                     <canvas id="humidityChart"></canvas>
125
                                 </div>
125
                                 </div>
126
                             </div>`);
126
                             </div>`);

Loading…
Cancel
Save