Move buttons out of the way on small screens

This commit is contained in:
Mcat12
2017-01-30 16:52:24 -05:00
parent 2e44c6897c
commit f53f2e8836
2 changed files with 10 additions and 2 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ function getFullName() {
<?php }else{ ?>
<button id="btnAdd" class="btn btn-default" type="button">Add</button>
<?php } ?>
<button id="btnRefresh" class="btn btn-default" type="button">Refresh</button>
}
<button id="btnRefresh" class="btn btn-default" type="button"><i class="fa fa-refresh"></i></button>
</span>
</div>
<?php if($list === "white") { ?>
+9
View File
@@ -201,3 +201,12 @@ $(function(){
$(this).closest("." + $(this).attr("data-hide")).hide();
});
});
$(document).ready(function () {
if (screen.width < 400) {
$(".input-group-btn").css("display", "initial");
}
else {
$(".input-group-btn").css("display", "table-cell");
}
});