Skip to content

Commit e0906a4

Browse files
committed
Ensure IPv6 wraps
Fixes #166
1 parent 6ded005 commit e0906a4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

css/helpdesk.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,4 +583,8 @@ dl.stats dd span, dl.stats dt span {
583583
.sd_unread_content div.sd_unread_row span:not(:nth-child(1), :nth-child(2), :nth-child(5)) {
584584
display: none;
585585
}
586+
}
587+
588+
.sd_wordbreak {
589+
overflow-wrap: break-word;
586590
}

sd_template/SimpleDesk-Display.template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function template_viewticket()
103103
if (!empty($context['ticket']['ip_address']))
104104
echo '
105105
<dt><img src="', $settings['default_images_url'], '/simpledesk/ip.png" alt="" class="shd_smallicon"> ', $txt['shd_ticket_ip'], ':</dt>
106-
<dd>', $context['ticket']['ip_address'], '</dd>';
106+
<dd class="sd_wordbreak">', $context['ticket']['ip_address'], '</dd>';
107107

108108
echo '
109109
</dl>';

0 commit comments

Comments
 (0)