Show condensed table in dashboard when fewer disks are present

W...I...D...E  == narrow
This commit is contained in:
bergware
2017-06-24 08:40:11 +02:00
parent 66bbc91c3f
commit 6519183571
+1
View File
@@ -114,6 +114,7 @@ $slots = count($disks) + count($devs);
?>
<?if ($slots<30):?>
<style>
table.share_status.fixed{width:<?=min(round(($slots+1)*10/3+13),100)?>%}
table.share_status.fixed td:nth-child(<?=$slots+1?>)~td{display:none}
</style>
<?endif;?>