Skip to content

Commit 7d3dc50

Browse files
committed
Add new collapse utility for visibility: collapse
tailwindlabs/tailwindcss#9181
1 parent b0bf08e commit 7d3dc50

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib/default-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export function getDefaultConfig() {
278278
* Visibility
279279
* @see https://tailwindcss.com/docs/visibility
280280
*/
281-
visibility: ['visible', 'invisible'],
281+
visibility: ['visible', 'invisible', 'collapse'],
282282
/**
283283
* Z-Index
284284
* @see https://tailwindcss.com/docs/z-index

tests/class-map.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ test('class map has correct class groups at first part', () => {
7979
caret: ['caret-color'],
8080
clear: ['clear'],
8181
col: ['col-end', 'col-start', 'col-start-end'],
82+
collapse: ['visibility'],
8283
columns: ['columns'],
8384
container: ['container'],
8485
content: ['align-content', 'content'],

0 commit comments

Comments
 (0)