Skip to content

Commit bc2abcc

Browse files
committed
align Active Campaign with others
1 parent 0e3c9dd commit bc2abcc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Campaign.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,12 +1510,14 @@ export const campaignIconHTMLUpdate = (key: CampaignKeys) => {
15101510

15111511
icon.classList.remove('green-background', 'purple-background')
15121512
icon.style.setProperty('border', 'none')
1513+
icon.style.removeProperty('margin')
15131514
const completions = player.campaigns.getCampaign(key).c10Completions
15141515
const limit = campaignDatas[key].limit
15151516

15161517
if (key === player.campaigns.current) {
15171518
icon.classList.add('purple-background')
15181519
icon.style.setProperty('border', '1px solid turquoise')
1520+
icon.style.setProperty('margin', '-1px')
15191521
} else if (completions === limit) {
15201522
icon.classList.add('green-background')
15211523
}

0 commit comments

Comments
 (0)