Use em instead of i and strong instead of b (#3321)

This commit is contained in:
Adam Warner
2025-03-17 18:12:10 +00:00
committed by GitHub
6 changed files with 9 additions and 7 deletions

View File

@@ -264,5 +264,7 @@ $(document).ready(function () {
});
// Add a small legend below the CNAME table
$("#cnameRecords-Table").after("<small>* <b>TTL</b> in seconds <i>(optional)</i></small>");
$("#cnameRecords-Table").after(
"<small>* <strong>TTL</strong> in seconds <em>(optional)</em></small>"
);
});

View File

@@ -26,10 +26,10 @@ function formatDnsmasq(line) {
if (line.includes("denied") || line.includes("gravity blocked")) {
// Red bold text for blocked domains
txt = `<b class="log-red">${txt}</b>`;
txt = `<strong class="log-red">${txt}</strong>`;
} else if (line.includes("query[A") || line.includes("query[DHCP")) {
// Bold text for initial query lines
txt = `<b>${txt}</b>`;
txt = `<strong>${txt}</strong>`;
} else {
// Grey text for all other lines
txt = `<span class="text-muted">${txt}</span>`;