mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 18:48:49 -05:00
Show condensed table in dashboard when fewer disks are present
W...I...D...E == narrow
This commit is contained in:
@@ -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;?>
|
||||
|
||||
Reference in New Issue
Block a user