textAlign.tsx 368 B

123456789101112131415161718
  1. import styled from '@emotion/styled';
  2. export const TextAlignRight = styled('span')`
  3. text-align: right;
  4. width: 100%;
  5. display: inline-block;
  6. `;
  7. export const TextAlignLeft = styled('span')`
  8. text-align: left;
  9. width: 100%;
  10. `;
  11. export const OverflowEllipsisTextContainer = styled('span')`
  12. text-overflow: ellipsis;
  13. overflow: hidden;
  14. white-space: nowrap;
  15. `;