Skip to content

Commit

Permalink
Fix some layout shift from missing img sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 12, 2024
1 parent d836411 commit e1cba16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/menu-bar/community-button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const CommunityButton = ({
)}
iconClassName={styles.communityButtonIcon}
iconSrc={communityIcon}
iconWidth={20}
iconHeight={20}
onClick={onClick}
>
<FormattedMessage
Expand Down
4 changes: 2 additions & 2 deletions src/components/menu-bar/tw-see-inside.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const SeeInsideButton = ({
)}
iconClassName={styles.seeInsideButtonIcon}
iconSrc={communityIcon}
iconWidth="20"
iconHeight="20"
iconWidth={20}
iconHeight={20}
onClick={onClick}
>
<FormattedMessage
Expand Down
2 changes: 2 additions & 0 deletions src/components/turbo-mode/turbo-mode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const TurboMode = ({isSmall}) => (
className={styles.turboIcon}
src={turboIcon}
draggable={false}
width={16}
height={16}
/>
{!isSmall && (
<div className={styles.turboLabel}>
Expand Down

0 comments on commit e1cba16

Please sign in to comment.