Skip to content

Commit 65cd9a2

Browse files
committed
Add flex-inherit utility classes
1 parent b7b19d6 commit 65cd9a2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

assets/css/tailwind.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,33 @@
376376
@apply flex items-center justify-between rounded px-2 py-1 hover:bg-layer-hover focus-visible:outline-none focus-visible:ring;
377377
}
378378
}
379+
380+
@layer utilities {
381+
.flex-direction-inherit {
382+
flex-direction: inherit;
383+
}
384+
385+
.flex-inherit {
386+
align-items: inherit;
387+
flex-direction: inherit;
388+
flex-wrap: inherit;
389+
gap: inherit;
390+
justify-content: inherit;
391+
}
392+
393+
.flex-wrap-inherit {
394+
flex-wrap: inherit;
395+
}
396+
397+
.gap-inherit {
398+
gap: inherit;
399+
}
400+
401+
.items-inherit {
402+
align-items: inherit;
403+
}
404+
405+
.justify-inherit {
406+
justify-content: inherit;
407+
}
408+
}

0 commit comments

Comments
 (0)