Skip to content

Commit

Permalink
Change list styles to make the text a bit smaller (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed May 8, 2024
1 parent c235251 commit e922d83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-hats-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"apollo-client-devtools": patch
---

Revert some changes to the list styles that made the text feel huge
2 changes: 1 addition & 1 deletion src/application/components/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function List({ className, ...props }: ListProps) {
{...props}
className={clsx(
className,
"overflow-y-auto flex flex-col gap-2 list-none"
"overflow-y-auto flex flex-col gap-1 list-none"
)}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion src/application/components/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function ListItem({
tabIndex={0}
className={twMerge(
className,
"text-md text-primary dark:text-primary-dark",
"text-sm text-primary dark:text-primary-dark",
"transition-colors duration-200",
"border-2 border-transparent flex items-center rounded-md cursor-pointer py-2 px-4",
"focus-visible:outline-none",
Expand Down

0 comments on commit e922d83

Please sign in to comment.