Ensure IPv6 wraps
jdarwood007

jdarwood007 commited on 2023-01-15 15:10:20
Showing 2 changed files, with 5 additions and 1 deletions.


Fixes #166
... ...
@@ -584,3 +584,7 @@ dl.stats dd span, dl.stats dt span {
584 584
 		display: none;
585 585
 	}
586 586
 }
587
+
588
+.sd_wordbreak {
589
+	overflow-wrap: break-word;
590
+}
587 591
\ No newline at end of file
... ...
@@ -103,7 +103,7 @@ function template_viewticket()
103 103
 				if (!empty($context['ticket']['ip_address']))
104 104
 					echo '
105 105
 						<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>';
107 107
 
108 108
 				echo '
109 109
 					</dl>';
110 110