Skip to content

Commit

Permalink
fix: sidebar icon alignment (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Apr 30, 2024
1 parent 636da28 commit a160adb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/app/src/next-app/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
}

.fern-sidebar-link-expand {
@apply relative flex w-10 lg:w-6 justify-center items-center transition-colors rounded-none transition-transform ease-out;
@apply relative flex w-10 lg:w-6 justify-center items-center transition-colors rounded-none ease-out;
@apply lg:rounded-lg;

&:last-child {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/app/src/sidebar/SidebarLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const SidebarLinkInternal = forwardRef<HTMLButtonElement, SidebarLinkProps>((pro
{expandButton}
<span className="fern-sidebar-link-content">
{icon != null && (
<span className="mr-2">
<span className="mr-2 inline-flex items-center">
{typeof icon === "string" ? <RemoteFontAwesomeIcon icon={icon} /> : icon}
</span>
)}
Expand Down

0 comments on commit a160adb

Please sign in to comment.