Skip to content

Commit 85c6b70

Browse files
author
Kristan Kenney
committed
Do not wrap DNS records in table view
For long DNS records such as DKIM keys, show the full value instead of cutting it off in the table display. This eliminates the unnecessary step of having to enter the Edit dialog to copy/paste the value.
1 parent 2c4e318 commit 85c6b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/admin/list_dns_rec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<div class="clearfix l-unit__stat-col--left compact text-center"><?=$data[$key]['PRIORITY']?>&nbsp;</div>
9797
<div class="clearfix l-unit__stat-col--left compact text-center"><?php if($data[$key]['TTL'] == ''){ echo __('Default'); }else{ echo $data[$key]['TTL'];} ?></div>
9898
<div class="clearfix l-unit__stat-col--left super-compact"><b>&nbsp;</b></div>
99-
<div class="clearfix l-unit__stat-col--left wide-6"><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></div>
99+
<div class="clearfix l-unit__stat-col--left wide-6" style="word-break: break-word;"><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></div>
100100
</div>
101101
</div>
102102
<?}?>

0 commit comments

Comments
 (0)