This commit is contained in:
Gnieark 2015-12-21 19:50:49 +01:00
parent 4069636bc9
commit 6306592c1a
2 changed files with 1 additions and 3 deletions

View File

@ -83,8 +83,6 @@ function place_ship_on_map($x1,$y1,$x2,$y2,$map){
OR (!isset($map[$y2][$x2]))){
return false;
}
if($x1 == $x2){
//horizontal ship
if($y1 <= $y2 ){

View File

@ -3,7 +3,7 @@ article p label {float:left; text-align:right; width:60%}
article p select {}
td{min-width: 15px; height: 15px;}
#fightResult{display:table;}
#logs{display:table-cell;padding-left:10px; height: 300px; overflow-y: scroll;}
#logs{display:block;padding-left:10px; height: 300px; overflow-y: scroll;}
.battleshipGrid{display:table-cell; padding-left:10px; border-collapse:collapse; margin: 20px 20px 20px 20px;}
.nofloat{float: none;}
.battleshipGrid tr{}