fix: Spacing around empty history state

This commit is contained in:
Tom Moor
2022-09-09 23:11:55 +01:00
parent 6f11bff91e
commit 04aad08e78

View File

@@ -100,7 +100,7 @@ function DocumentHistory() {
documentId: document.id,
}}
document={document}
empty={<Empty>{t("No history yet")}</Empty>}
empty={<EmptyHistory>{t("No history yet")}</EmptyHistory>}
/>
</Scrollable>
</Position>
@@ -109,6 +109,10 @@ function DocumentHistory() {
);
}
const EmptyHistory = styled(Empty)`
padding: 0 12px;
`;
const Position = styled(Flex)`
position: fixed;
top: 0;