overflowEllipsis.tsx 328 B

123456789101112131415
  1. /**
  2. * CSS styles used to add a ellipsis overflow. This is deprecated, use the
  3. * styles from theme instead (``p.theme.overflowEllipsis`).
  4. *
  5. * @deprecated
  6. */
  7. const overflowEllipsis = `
  8. display: block;
  9. white-space: nowrap;
  10. overflow: hidden;
  11. text-overflow: ellipsis;
  12. width: 100%;
  13. `;
  14. export default overflowEllipsis;