mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Enhance wrapping for long regex lines on the domains list pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -76,7 +76,7 @@ function initTable() {
|
||||
"\nDatabase ID: " +
|
||||
data.id;
|
||||
$("td:eq(0)", row).html(
|
||||
'<code id="domain" title="' + tooltip + '">' + data.domain + "</code>"
|
||||
'<code id="domain" title="' + tooltip + '" class="breakall">' + data.domain + "</code>"
|
||||
);
|
||||
|
||||
var whitelist_options = "";
|
||||
|
||||
+11
-1
@@ -242,4 +242,14 @@
|
||||
|
||||
td.highlight {
|
||||
background-color: yellow;
|
||||
}
|
||||
}
|
||||
|
||||
code.breakall
|
||||
{
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user