Skip to content

Commit

Permalink
#8086: fixed width icons in page editor mod sidebar (#8149)
Browse files Browse the repository at this point in the history
* fixed width icons in page editor mod sidebar

* update snapshot
  • Loading branch information
fungairino authored Apr 4, 2024
1 parent c1c3b4b commit 02b2790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/pageEditor/sidebar/ExtensionIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ import Icon from "@/icons/Icon";
export const ExtensionIcon: React.FunctionComponent<{
type: StarterBrickType;
}> = ({ type }) => (
<FontAwesomeIcon icon={ADAPTERS.get(type)?.icon ?? faPuzzlePiece} />
<FontAwesomeIcon
fixedWidth
icon={ADAPTERS.get(type)?.icon ?? faPuzzlePiece}
/>
);

export const NotAvailableIcon: React.FunctionComponent = () => (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 02b2790

Please sign in to comment.