* Change font for devops text and bi text.

This commit is contained in:
sunhao
2024-01-05 13:45:58 +08:00
parent 0b960729e0
commit 366c4e56af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class heading extends wg
(
set::url($url),
set::hint($lang->$tab->common),
$tab == 'devops' ? setClass('num') : null,
($tab == 'devops' || $tab == 'bi') ? setClass('font-brand') : null,
set::icon($icon),
set::text($lang->$tab->common)
);
+1 -1
View File
@@ -654,7 +654,7 @@ function initAppsMenu(items)
item.icon = ($link.find('.icon').attr('class') || '').replace('icon ', '');
item.text = $link.text().trim();
$link.html('<i class="icon ' + item.icon + '"></i><span class="text">' + item.text + '</span>');
if(item.code === 'devops') $link.find('.text').addClass('num');
if(item.code === 'devops' || item.code === 'bi') $link.find('.text').addClass('font-brand');
apps.map[item.code] = item;
$('<li></li>').attr('data-app', item.code)