Skip to content

Commit e922d83

Browse files
authored
Change list styles to make the text a bit smaller (#1360)
1 parent c235251 commit e922d83

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/silly-hats-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"apollo-client-devtools": patch
3+
---
4+
5+
Revert some changes to the list styles that made the text feel huge

src/application/components/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function List({ className, ...props }: ListProps) {
99
{...props}
1010
className={clsx(
1111
className,
12-
"overflow-y-auto flex flex-col gap-2 list-none"
12+
"overflow-y-auto flex flex-col gap-1 list-none"
1313
)}
1414
/>
1515
);

src/application/components/ListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function ListItem({
1919
tabIndex={0}
2020
className={twMerge(
2121
className,
22-
"text-md text-primary dark:text-primary-dark",
22+
"text-sm text-primary dark:text-primary-dark",
2323
"transition-colors duration-200",
2424
"border-2 border-transparent flex items-center rounded-md cursor-pointer py-2 px-4",
2525
"focus-visible:outline-none",

0 commit comments

Comments
 (0)