Skip to content

Commit

Permalink
Fix mobile search and icon style (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoegijono authored and PSGS committed Dec 10, 2016
1 parent f1b1cf1 commit 290c62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions css/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -254,6 +248,7 @@ td img.icon,
float: left;
padding: 4px 4px;
height: 2em;
width: 2em;
line-height: 1;
margin-right: 0.8em;
}
Expand Down
3 changes: 1 addition & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 290c62a

Please sign in to comment.