Skip to content

Commit

Permalink
Align design to editor icon and breadcrumb (gitpod-io#19584)
Browse files Browse the repository at this point in the history
* Align editor icon size to design

* nit
  • Loading branch information
mustard-mh authored Mar 28, 2024
1 parent a04addf commit d13a9ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/components/IdeOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const IdeOptions = (props: IdeOptionsProps) => {
{props.ideOptions &&
props.ideOptions.map((ide) => (
<div key={ide.id} className="flex gap-2 items-center">
<img className="w-8 h-8 self-center" src={ide.logo} alt="" />
<img className="w-5 h-5 self-center" src={ide.logo} alt="" />
<span>
<span className="font-medium text-pk-content-primary">{ide.title}</span>
{ide.imageVersion && (
Expand Down Expand Up @@ -215,7 +215,7 @@ const IdeOptionSwitch = ({
const contentColor = ideOption.isDisabledInScope ? "text-pk-content-disabled" : "text-pk-content-primary";
const label = (
<>
<img className="w-8 h-8 self-center mr-2" src={ideOption.logo} alt="" />
<img className="w-5 h-5 self-center mr-2" src={ideOption.logo} alt="" />
<span className={cn("font-medium", contentColor)}>{ideOption.title}</span>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const BreadcrumbNav: FC<BreadcrumbPageNavProps> = ({ pageTitle, pageDescr
{backLink && (
<LinkButton
variant={"ghost"}
className="py-1 pl-0 pr-2 text-content-primary hover:bg-pk-surface-tertiary flex flex-row gap-1 items-center"
className="py-1 pl-0 pr-1 text-content-primary hover:bg-pk-surface-tertiary flex flex-row gap-1 items-center"
href={backLink}
>
<ChevronLeft size={24} />
Expand Down

0 comments on commit d13a9ad

Please sign in to comment.