1
0
mirror of https://github.com/danog/2048.git synced 2024-11-26 19:34:44 +01:00

Merge pull request #279 from sigod/numbers-positions

fix positions of tile numbers
This commit is contained in:
Gabriele Cirulli 2014-12-07 19:40:58 +01:00
commit c36ad21655
2 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ hr {
.tile, .tile .tile-inner { .tile, .tile .tile-inner {
width: 107px; width: 107px;
height: 107px; height: 107px;
line-height: 116.25px; } line-height: 107px; }
.tile.tile-position-1-1 { .tile.tile-position-1-1 {
-webkit-transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px); -moz-transform: translate(0px, 0px);
@ -633,7 +633,7 @@ hr {
.tile, .tile .tile-inner { .tile, .tile .tile-inner {
width: 58px; width: 58px;
height: 58px; height: 58px;
line-height: 67.5px; } line-height: 58px; }
.tile.tile-position-1-1 { .tile.tile-position-1-1 {
-webkit-transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px); -moz-transform: translate(0px, 0px);

View File

@ -292,7 +292,7 @@ hr {
&, .tile-inner { &, .tile-inner {
width: ceil($tile-size); width: ceil($tile-size);
height: ceil($tile-size); height: ceil($tile-size);
line-height: $tile-size + 10px; line-height: ceil($tile-size);
} }
// Build position classes // Build position classes