fix: Spacing around empty history state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user