fix: Empty state text align

This commit is contained in:
Tom Moor
2023-06-10 22:11:30 +03:00
parent 1ddb9aba3b
commit e00c30bd1f

View File

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