Skip to content

Commit 1f41285

Browse files
committed
Merge pull request #137 from yahoo/add-text-overflow-property
Add text overflow property
2 parents 7145f74 + f4378b8 commit 1f41285

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/rules.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,6 +1855,23 @@ module.exports = [
18551855
{suffix: 'inh', values: ['inherit']}
18561856
]
18571857
},
1858+
/**
1859+
==================================================================
1860+
TEXT-OVERFLOW
1861+
==================================================================
1862+
*/
1863+
{
1864+
type: 'pattern',
1865+
name: 'Text overflow',
1866+
prefix: 'Tov-',
1867+
properties: ['text-overflow'],
1868+
allowCustom: true,
1869+
allowSuffixToValue: false,
1870+
rules: [
1871+
{suffix: 'c', values: ['clip']},
1872+
{suffix: 'e', values: ['ellipsis']}
1873+
]
1874+
},
18581875
/**
18591876
==================================================================
18601877
TEXT-RENDERING

0 commit comments

Comments
 (0)