mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Make unused columns invisible for Array Status on Dashboard page
This commit is contained in:
@@ -114,8 +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}
|
||||
table.share_status.fixed td:nth-child(<?=$slots+1?>)~td{visibility:hidden}
|
||||
</style>
|
||||
<?endif;?>
|
||||
<table class='share_status fixed'>
|
||||
|
||||
Reference in New Issue
Block a user