fixed mobile height

This commit is contained in:
arzynik 2012-06-25 23:40:35 -07:00
parent adb79d4941
commit a19eccc47c

View File

@ -90,7 +90,7 @@ body {
.meal-item { .meal-item {
display: inline-block; display: inline-block;
width: auto; width: auto;
height: 212px; height: 211px;
margin-left: 14px; margin-left: 14px;
margin-bottom: 12px; margin-bottom: 12px;
} }
@ -106,6 +106,7 @@ body {
float: left; float: left;
color: #7e7e7e; color: #7e7e7e;
cursor: pointer; cursor: pointer;
text-align: left;
-webkit-transition-property: border; -webkit-transition-property: border;
-webkit-transition-duration: .25s; -webkit-transition-duration: .25s;
@ -223,11 +224,17 @@ and (max-device-width : 480px) {
padding: 5px 0 12px 0; padding: 5px 0 12px 0;
} }
.meal-item { .meal-item-content {
width: 304px; width: 304px;
height: 121px; height: 121px;
margin-bottom: 6px; margin-bottom: 6px;
} }
.meal-item {
height: 133px;
margin-left: 0;
margin-bottom: 2px;
}
.logo { .logo {
margin: 0 auto; margin: 0 auto;
@ -278,6 +285,9 @@ and (max-device-width : 480px) {
.meal-pic { .meal-pic {
background-position: center center !important; background-position: center center !important;
} }
.footer {
margin-top: 20px;
}
} }
@media only screen @media only screen