We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9111f1 commit ea37533Copy full SHA for ea37533
packages/compass-databases-navigation/src/placeholder-item.tsx
@@ -8,15 +8,16 @@ const placeholderItem = css({
8
display: 'flex',
9
alignItems: 'center',
10
height: COLLECTION_ROW_HEIGHT,
11
- paddingLeft: spacing[5],
12
});
13
+// Padding should align the placeholder with icon at the start of the item, not
14
+// with the text after the icon
15
const padding = {
16
database: css({
- paddingLeft: spacing[4] + spacing[2],
17
+ paddingLeft: spacing[3] + spacing[1],
18
}),
19
collection: css({
- paddingLeft: spacing[4] + spacing[4] + spacing[1],
20
+ paddingLeft: spacing[5] + spacing[1],
21
22
} as const;
23
0 commit comments