Skip to content

Commit 1aad9d3

Browse files
committed
fixes #61 check template variable before use
1 parent ad31862 commit 1aad9d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css/menuh.css.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
font-size: 90%;
2121
border-radius: 20px;
2222
font-weight: bold;
23+
{if !empty($skin.menubar.badgeBackgroundColor)}
2324
background-color: {$skin.menubar.badgeBackgroundColor};
25+
{/if}
26+
{if !empty($skin.menubar.badgeColor)}
2427
color: {$skin.menubar.badgeColor};
28+
{/if}
2529
}
2630

2731
#menubar .menuInfoCat::before {

0 commit comments

Comments
 (0)