Add word break in interface_statistics.widget.php (#7106)

* Add word break in interface_statistics.widget.php

* Add word break to interface descriptions as well
This commit is contained in:
doktornotor 2024-01-03 11:04:01 +01:00 committed by GitHub
parent cd3fa5a268
commit 44d9a11bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,10 +143,10 @@ $ifvalues = array(
continue;
} ?>
<tr id="interface_statistics_widget_intf_<?= html_safe($ifdescr) ?>">
<td><strong><?= $ifname ?></strong></td>
<td style="word-break: break-word;"><strong><?= $ifname ?></strong></td>
<?php $infcount = 0;
while ($infcount++ < count($ifvalues)): ?>
<td>&#126;</td>
<td style="word-break: break-word;">&#126;</td>
<?php endwhile ?>
</tr>
<?php endforeach ?>