Skip to content

A live bird collage card for your Home Assistant dashboard.

Switching <b> for font-weight:bold

ehpersonal3877356659a24f
diff --git a/homepage/views.php b/homepage/views.php
index b383200f..be4e0e5d 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -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("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:red'><b>-</b></span>)",$results);
+ $results = str_replace("(+)", "(<span style='color:lime;font-weight:bold'>+</span>)",$results);
+ $results = str_replace("(-)", "(<span style='color:red;font-weight:bold'>-</span>)",$results);
// split the input string into lines
$lines = explode("\n", $results);