A live bird collage card for your Home Assistant dashboard.
fix # of updates needed text overflow if > 99
ehpersonal38509a63e4f4e4
diff --git a/homepage/views.php b/homepage/views.phpindex 0578f5e4..735fbad6 100644--- a/homepage/views.php+++ b/homepage/views.php@@ -42,13 +42,14 @@ if(!isset($_SESSION['behind'])) {$sum = $num1 + $num2;$_SESSION['behind'] = $sum;}- if(isset($_SESSION['behind'])&&intval($_SESSION['behind']) >= 99) {?>+}+if(isset($_SESSION['behind'])&&intval($_SESSION['behind']) >= 99) {?><style>.updatenumber {width:30px !important;}</style>-<?php }}+<?php }if (file_exists('./scripts/thisrun.txt')) {$config = parse_ini_file('./scripts/thisrun.txt');