8000 Use consistent text-like inputs selector list for CSS styles (#8456) · activeadmin/activeadmin@72b8252 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72b8252

Browse files
authored
Use consistent text-like inputs selector list for CSS styles (#8456)
Use consistent list of text-like inputs for styling Previously, inputs with type=datetime-local, type=search, type=week and type=month were missing some tailwind styles.
1 parent 2a1c71b commit 72b8252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ module.exports = plugin(
312312
'[type=radio]': {
313313
'@apply w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600': {}
314314
},
315-
[['[type=date]', '[type=email]', '[type=number]', '[type=password]', '[type=tel]', '[type=text]', '[type=time]', '[type=url]', 'select', 'textarea']]: {
315+
[['[type=datetime-local]', '[type=month]', '[type=week]', '[type=search]', '[type=date]', '[type=email]', '[type=number]', '[type=password]', '[type=tel]', '[type=text]', '[type=time]', '[type=url]', 'select', 'textarea']]: {
316316
'@apply bg-gray-50 border border-gray-300 text-gray-900 rounded-md focus:ring-blue-500 focus:border-blue-500 w-full dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500': {}
317317
},
318318
'a': {

0 commit comments

Comments
 (0)
0