mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Move buttons out of the way on small screens
This commit is contained in:
@@ -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") { ?>
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user