mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user