diff --git a/app/components/DocumentViews.tsx b/app/components/DocumentViews.tsx
index 454b2ebfb..e77c205e1 100644
--- a/app/components/DocumentViews.tsx
+++ b/app/components/DocumentViews.tsx
@@ -61,7 +61,6 @@ function DocumentViews({ document, isOpen }: Props) {
subtitle={subtitle}
image={}
border={false}
- compact
small
/>
);
diff --git a/app/components/List/Item.tsx b/app/components/List/Item.tsx
index 98ecc82d3..0ca74c4e3 100644
--- a/app/components/List/Item.tsx
+++ b/app/components/List/Item.tsx
@@ -10,7 +10,6 @@ type Props = {
title: React.ReactNode;
subtitle?: React.ReactNode;
actions?: React.ReactNode;
- compact?: boolean;
border?: boolean;
small?: boolean;
};
@@ -50,7 +49,7 @@ const ListItem = (
+
{content(false)}
);
};
-const Wrapper = styled.div<{ $compact?: boolean; $border?: boolean }>`
+const Wrapper = styled.div<{ $small?: boolean; $border?: boolean }>`
display: flex;
- margin: ${(props) => (props.$compact === false ? 0 : "8px 0")};
- padding: ${(props) => (props.$compact === false ? "8px 0" : 0)};
+ padding: ${(props) => (props.$border === false ? 0 : "8px 0")};
+ margin: ${(props) =>
+ props.$border === false ? (props.$small ? "8px 0" : "16px 0") : 0};
border-bottom: 1px solid
${(props) =>
props.$border === false ? "transparent" : props.theme.divider};