Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Commit

Permalink
Makes new search usable on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
wylermr committed Jun 24, 2014
1 parent 62f0d04 commit 156a820
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,13 @@ function fullScreen() {
}

function submitContentToggle() {
if (window.innerWidth < 770) {
$('.submitContent').css('width', window.innerWidth);
}
else {
$('.submitContent').css('width', '788px');
}

if ($('.submitContent').is(':visible')) {
$('.submitContent').hide();
$('.container').css('margin-left', 'auto');
Expand Down

0 comments on commit 156a820

Please sign in to comment.