From d8fd22877ce6209d9a37674070a3a8f90b2b980b Mon Sep 17 00:00:00 2001 From: Muhammad Sammy Date: Tue, 5 Jan 2021 14:26:45 +0200 Subject: [PATCH] feat: add `overflow-ellipsis` and `overflow-clip` utilities (close #109) --- src/cli/lib/non-configurable/typography.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cli/lib/non-configurable/typography.ts b/src/cli/lib/non-configurable/typography.ts index eb354ff2..3738e59c 100644 --- a/src/cli/lib/non-configurable/typography.ts +++ b/src/cli/lib/non-configurable/typography.ts @@ -22,6 +22,8 @@ const textDecoration = ['underline', 'line-through', 'no-underline']; const textTransform = ['uppercase', 'lowercase', 'capitalize', 'normal-case']; +const textOverflow = ['truncate', 'overflow-ellipsis', 'overflow-clip']; + const verticalAlign = [ 'align-baseline', 'align-top', @@ -39,7 +41,7 @@ const whitespace = [ 'whitespace-pre-wrap', ]; -const wordBreak = ['break-normal', 'break-words', 'break-all', 'truncate']; +const wordBreak = ['break-normal', 'break-words', 'break-all']; export default { fontSmoothing, @@ -49,6 +51,7 @@ export default { textAlign, textDecoration, textTransform, + textOverflow, verticalAlign, whitespace, wordBreak,