ezeek / smartly

smartly - hubitat dashboard skin engine
https://hubitat.ezeek.us/smartly/
13 stars 1 forks source link

'Buttonize' for dashboard link tile not working when icon replacement is used #86

Closed ezeek closed 3 years ago

ezeek commented 3 years ago

need array_reverse() to add css for mods after icon state css

 // iterate through individual mods css, optimize 
  foreach (array_reverse($smartly_css['mods']) as $mod_name => $mod_css) {
    foreach ($mod_css as $css) {
      $smartly_mods_css[] = $css;
    }
  }