Switching <b> for font-weight:bold

This commit is contained in:
ehpersonal38
2023-03-07 18:26:55 -05:00
parent 7e825d6009
commit 77356659a2
+2 -2
View File
@@ -314,8 +314,8 @@ if(isset($_GET['view'])){
$results = str_replace("active (running)", "<span style='color:green'><b>active (running)</b></span>",$results); $results = str_replace("active (running)", "<span style='color:green'><b>active (running)</b></span>",$results);
$results = str_replace("Your branch is up to date", "<span style='color:limegreen'><b>Your branch is up to date</b></span>",$results); $results = str_replace("Your branch is up to date", "<span style='color:limegreen'><b>Your branch is up to date</b></span>",$results);
$results = str_replace("(+)", "(<span style='color:limegreen'><b>+</b></span>)",$results); $results = str_replace("(+)", "(<span style='color:lime;font-weight:bold'>+</span>)",$results);
$results = str_replace("(-)", "(<span style='color:red'><b>-</b></span>)",$results); $results = str_replace("(-)", "(<span style='color:red;font-weight:bold'>-</span>)",$results);
// split the input string into lines // split the input string into lines
$lines = explode("\n", $results); $lines = explode("\n", $results);