Permalink
Browse files

Fix mobile search and icon style (#2232)

  • Loading branch information...
1 parent f1b1cf1 commit 290c62ab148fd5698413f82774d7e9e0db4b23f1 @dsoegijono dsoegijono committed with psgs Dec 10, 2016
Showing with 2 additions and 8 deletions.
  1. +1 −6 css/base.scss
  2. +1 −2 js/app.js
View
@@ -184,12 +184,6 @@ input[type=search] {
}
.main {
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- -ms-flex-direction: column;
- flex-direction: column;
-
.title {
display: -ms-flexbox;
display: -webkit-flex;
@@ -254,6 +248,7 @@ td img.icon,
float: left;
padding: 4px 4px;
height: 2em;
+ width: 2em;
line-height: 1;
margin-right: 0.8em;
}
View
@@ -36,8 +36,7 @@ var jets = new Jets({
contentTag: '.jets-content',
didSearch: function (searchPhrase) {
$('.category h5 i').removeClass('active-icon');
- var platform;
- $(window).width() > 768 ? platform = 'desktop' : platform = 'mobile';
+ var platform = ($(window).width() > 768) ? 'desktop' : 'mobile';
var content = $('.' + platform + '-table .jets-content');
var table = $('.' + platform + '-table');

0 comments on commit 290c62a

Please sign in to comment.