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,10 +117,10 @@ function generateView(arrSensor, actTime) {
117 117
 
118 118
 function generateGraph(flag, sensor, actTime) {
119 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 121
                                     <canvas id="temperaturChart"></canvas>
122 122
                                 </div>
123
-                                <div class="col-md-6 col-lg-6">
123
+                                <div class="col-sm-12 col-md-12 col-lg-6">
124 124
                                     <canvas id="humidityChart"></canvas>
125 125
                                 </div>
126 126
                             </div>`);

Loading…
Cancel
Save