Skip to content

Commit

Permalink
Changed important rule to be max height/width
Browse files Browse the repository at this point in the history
  • Loading branch information
robsassack committed Mar 17, 2024
1 parent f930f83 commit 67ead03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ItemTooltip/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ const HeaderText = styled.div`
`;

const ResourceIcon = styled.img`
width: 16px !important;
height: 16px !important;
max-width: 16px;
max-height: 16px;
vertical-align: sub;
margin-right: 5px;
`;
Expand Down Expand Up @@ -284,7 +284,7 @@ const Ability = (item, type, title, description, hasNonPassive) => {
<div>
{item.mc && type !== 'passive' &&
<span className="entry">
<ResourceIcon src='/assets/images/dota2/ability_manacost.png' alt='Mana icon' />
<ResourceIcon src='/assets/images/dota2/ability_manacost.png' alt='Mana icon' height="16px" />
<span className='values'>{item.mc}</span>
</span>}
{item.hc && type !== 'passive' &&
Expand Down

0 comments on commit 67ead03

Please sign in to comment.