From c4bf394931dbf28e46c18602d8649ccdaf949088 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 10 Feb 2026 17:17:07 +0100 Subject: [PATCH] Fix custom device status colors not showing in row view All custom status colors now get !important on their CSS background-color rule, not just Reserved. Without this, department colors (generated later in the stylesheet) would always override custom status colors due to CSS cascade order. Fixes #1165 --- rowview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowview.php b/rowview.php index 3afe41ed3..85caa9e9d 100644 --- a/rowview.php +++ b/rowview.php @@ -33,7 +33,7 @@ foreach($dsList as $stat){ if($stat->ColorCode != "#FFFFFF"){ $stName=str_replace(' ','_',$stat->Status); - $important=($stName == 'Reserved')?' !important':''; + $important=' !important'; $head.="\t\t\t.$stName {background-color: {$stat->ColorCode}$important;}\n"; }