sysutils/smart: add word break to ident in widget (#3726)

Add word-breaking to the "Ident" column of the SMART Dashboard widget, to prevent long device names from causing the table to extend outside of the widget's div.
This commit is contained in:
Russ Kubes
2023-12-28 08:44:06 +01:00
committed by GitHub
parent a186956c52
commit f6f3248912
@@ -64,7 +64,7 @@ $devs = json_decode(configd_run('smart detailed list'));
<tr>
<td><?= html_safe($dev->device) ?></td>
<td><?= html_safe($dev->ident) ?></td>
<td style="word-break: break-word;"><?= html_safe($dev->ident) ?></td>
<td><span class="label label-<?= $color ?>"><?= html_safe($dev_state_translated) ?></span></td>
</tr>