fix: Text alignment on collection empty state

This commit is contained in:
Tom Moor
2023-08-11 22:30:48 +02:00
parent 8830773acb
commit 4a4ea0e531

View File

@@ -14,7 +14,7 @@ type Props = {
*/
const Text = styled.p<Props>`
margin-top: 0;
text-align: ${(props) => (props.dir ? props.dir : "initial")};
text-align: ${(props) => (props.dir ? props.dir : "inherit")};
color: ${(props) =>
props.type === "secondary"
? props.theme.textSecondary