mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 08:02:19 +00:00
trim tailwind safelist
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
function down(event: KeyboardEvent) {
|
||||
if (!$focusedGrid) {
|
||||
$selectedComponent = getSortedGridItemsOfChildren()[0]?.id
|
||||
event.preventDefault()
|
||||
} else if ($app.subgrids) {
|
||||
const index = $focusedGrid?.subGridIndex ?? 0
|
||||
const subgrid = $app.subgrids[`${$selectedComponent}-${index}`]
|
||||
|
||||
@@ -9,9 +9,14 @@ const config = {
|
||||
'splitpanes__splitter',
|
||||
...(process.env.NODE_ENV === 'production'
|
||||
? [
|
||||
{
|
||||
pattern: /.*/
|
||||
}
|
||||
{ pattern: /^m(\w?)-/ },
|
||||
{ pattern: /^p(\w?)-/ },
|
||||
{ pattern: /^shadow-/ },
|
||||
{ pattern: /^rounded-/ },
|
||||
{ pattern: /^text-/, variants: ['hover', 'active', 'focus'] },
|
||||
{ pattern: /^bg-/, variants: ['hover', 'active', 'focus'] },
|
||||
{ pattern: /^border-/, variants: ['hover', 'active', 'focus'] },
|
||||
{ pattern: /^ring-/, variants: ['hover', 'active', 'focus'] }
|
||||
]
|
||||
: [])
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user