Skip to content

Commit

Permalink
Merge pull request #3165 from builder-247/item-tooltip-rework
Browse files Browse the repository at this point in the history
css fixes
  • Loading branch information
howardchung committed Mar 20, 2024
2 parents 2153818 + ae5717a commit 5c07059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ItemTooltip/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const AbilityComponent = styled.div`
margin: 10px 9px;
& .ability-name {
font-size: 14px;
font-size: 13px;
font-weight: bold;
vertical-align: middle;
padding-left: 4px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Visualizations/inflictorWithValue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class InflictorWithValue extends React.Component {
onMouseEnter={this.setShowTooltip}
>
{(!type || type === 'purchase' || type === 'backpack' || type === 'neutral') &&
<object data={image} height="27px" width="37px" type="image/png">
<object data={image} height="27px" width={ability ? '27px' : '37px'} type="image/png">
<img src="/assets/images/Dota2Logo.svg" alt="Dota 2 Logo" style={{ filter: 'grayscale(60%)', height: '27px' }} />
</object>}
{type === 'buff' &&
Expand Down

0 comments on commit 5c07059

Please sign in to comment.