Skip to content

Commit 6a400f9

Browse files
increased map size in portrait mode
1 parent 6733091 commit 6a400f9

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

css/main.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ header .search form input[type='submit'] {
435435
position: absolute;
436436
z-index: 2;
437437
bottom: 40%;
438-
right: 25%;
438+
right: 30%;
439439
opacity: 0.6;
440440
width: 46px;
441441
height: 84px;
@@ -740,7 +740,7 @@ header .search form input[type='submit'] {
740740
height: 225px;
741741
}
742742
#main {
743-
height: 180px;
743+
height: 150px;
744744
}
745745
#main .data {
746746
height: 140px;
@@ -749,17 +749,16 @@ header .search form input[type='submit'] {
749749
float: left;
750750
width: 65%;
751751
padding-left: 5px;
752-
padding-right: 20px;
753752
}
754753
#main .data .right {
755754
float: right;
756755
padding-right: 10px;
757-
width: 20%;
756+
width: 25%;
758757
}
759758
#main .data dl > dt {
760759
color: #000;
761760
line-height: 11px;
762-
margin-top: 15px;
761+
margin-top: 7px;
763762
font-weight: bold;
764763
font-size: 14px;
765764
}

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function checkSize() {
314314
$('#main').width(sw);
315315
} else { // portrait mode
316316
//if(h < 420) h = 420;
317-
var mh = (wvar.vlist) ? 180 : 0;
317+
var mh = (wvar.vlist) ? 150 : 0;
318318

319319
$('body,#loading').height(h);
320320
$('#map,#mapscreen').height(h-hh-5-mh);

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ function updateVehicleInfo(vcallsign, newPosition) {
978978
'</div>' + // left
979979
'<div class="right">' +
980980
'<dl>' +
981-
((vehicle.vehicle_type == "car") ? '' : '<dt>'+ascent_text+' '+hrate_text+'</dt><dd>rate v|h</dd>') +
981+
((vehicle.vehicle_type == "car") ? '' : '<dt>'+ascent_text+'<br/>'+hrate_text+'</dt><dd>rate v|h</dd>') +
982982
'<dt>'+text_alt+'</dt><dd>altitude</dd>' +
983983
'<dt>'+text_alt_max+'</dt><dd>max alt</dd>' +
984984
'';

0 commit comments

Comments
 (0)