Update main.ts and style.css

This commit is contained in:
Dede Fuji Abdul
2024-03-05 20:59:59 +07:00
parent 415f1c8deb
commit 28424a4ffa
3 changed files with 145 additions and 90 deletions

View File

@@ -24,6 +24,23 @@ app.use(
searchInput: 'rich-select-search-input',
selectedHighlightedOption: 'rich-select-selected-highlighted-option'
}
},
TagsInput: {
fixedClasses: {
input: 'appearance-none py-0 ring-0 border-0 outline-none focus:ring-0 focus:outline-none focus:shadow-none shadow-none w-full bg-transparent text-gray-800 text-base',
inputWrapper: 'inline-flex flex-grow bg-transparent',
tagsWrapper: 'flex flex-wrap overflow-hidden -my-2 py-1 px-1 w-full text-xs',
tagDeleteButtonIcon: 'w-3 h-3',
tagLabel: 'px-3 text-xs',
},
classes: {
input: 'min-h-[32px]',
inputWrapper: '',
tagsWrapper: '',
tagDeleteButtonIcon: '',
tagLabel: '',
trigger: 'bg-gray-200 rounded-lg mb-2 mt-2',
},
}
})
)