Skip to content

Commit

Permalink
Fixed grenades and weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
osztenkurden committed Jan 27, 2021
1 parent 4ca4ef9 commit 186d3fe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/HUD/Killfeed/killfeed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}

svg.weapon {
max-height: 28px;
height: 28px;
filter: invert(0%);
}

Expand Down
2 changes: 1 addition & 1 deletion src/HUD/MapSeries/MapSeries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class MapSeries extends React.Component<IProps> {
</div>
{match.vetos.filter(veto => veto.type !== "ban").map(veto => {
if(!veto.mapName) return null;
return <VetoEntry veto={veto} teams={teams} active={map.name.includes(veto.mapName)}/>
return <VetoEntry key={`${match.id}${veto.mapName}${veto.teamId}${veto.side}`} veto={veto} teams={teams} active={map.name.includes(veto.mapName)}/>
})}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/HUD/Players/observed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
}
}
.weapon.grenade {
max-height: 28px;
height: 28px;
/*filter: invert(1);*/

&:last-child {
Expand Down
5 changes: 4 additions & 1 deletion src/HUD/SideBoxes/sideboxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
justify-content: center;
}
.grenades_container {
display: flex;
display: flex ;

flex: 1;
height: 46px;
.grenade_container {
Expand All @@ -111,8 +112,10 @@
font-weight: 600;
font-size: 18px;
justify-content: center;

svg {
height: 30px;
width:auto;
}
}
}
Expand Down

0 comments on commit 186d3fe

Please sign in to comment.