From cbf3afaf09cd7c5568de2d8de8be944d3fbbd82f Mon Sep 17 00:00:00 2001 From: builder_247 <14019974+builder-247@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:02:39 +0200 Subject: [PATCH] fix item icon image on firefox Co-authored-by: Argn0 --- src/components/ItemTooltip/index.jsx | 1 + src/components/Visualizations/inflictorWithValue.jsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ItemTooltip/index.jsx b/src/components/ItemTooltip/index.jsx index 203097423a..ddd9741718 100644 --- a/src/components/ItemTooltip/index.jsx +++ b/src/components/ItemTooltip/index.jsx @@ -45,6 +45,7 @@ const Header = styled.div` #item-img { display: inline-block; height: 100%; + width: 100%; border: 1px solid #080D15; box-sizing: border-box; } diff --git a/src/components/Visualizations/inflictorWithValue.jsx b/src/components/Visualizations/inflictorWithValue.jsx index d702efbc84..abcc88bd94 100644 --- a/src/components/Visualizations/inflictorWithValue.jsx +++ b/src/components/Visualizations/inflictorWithValue.jsx @@ -72,6 +72,7 @@ display: inline-block; object, img { height: 18px; + width: 25px; } } &.neutral { @@ -224,7 +225,7 @@ class InflictorWithValue extends React.Component { onMouseEnter={this.setShowTooltip} > {(!type || type === 'purchase' || type === 'backpack' || type === 'neutral') && - + Dota 2 Logo } {type === 'buff' &&