mirror of
https://github.com/unraid/webgui.git
synced 2026-03-07 18:39:27 -06:00
Adjust dropdownchecklst width according to selected theme
This commit is contained in:
@@ -34,7 +34,7 @@ $banner = '/boot/config/plugins/dynamix/banner.png';
|
||||
echo "#header.image{background-image:url(";
|
||||
echo file_exists($banner) ? autov($banner) : '/webGui/images/banner.png';
|
||||
echo ")}\n";
|
||||
if ($display['theme']=='gray' || $display['theme']=='azure') {
|
||||
if (strstr('gray,azure',$display['theme'])) {
|
||||
$pages = find_pages('Tasks');
|
||||
foreach ($pages as $page) if ($page['Code']) echo "#nav-item a[href='/{$page['name']}']:before{content:'\\{$page['Code']}'}\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user