Skip to content

Commit 5ce8bf9

Browse files
committed
use whitespace-nowrap
1 parent cb39ad4 commit 5ce8bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/TRichSelect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const TRichSelect = MultipleInput.extend({
102102
selectButton: 'w-full flex text-left justify-between items-center',
103103
selectButtonLabel: 'block truncate',
104104
selectButtonTagWrapper: 'flex flex-wrap overflow-hidden',
105-
selectButtonTag: 'bg-blue-500 block disabled:cursor-not-allowed disabled:opacity-50 duration-100 ease-in-out focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 rounded shadow-sm text-sm text-white transition white-space-normal m-0.5 max-w-full overflow-hidden h-8 flex items-center',
105+
selectButtonTag: 'bg-blue-500 block disabled:cursor-not-allowed disabled:opacity-50 duration-100 ease-in-out focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 rounded shadow-sm text-sm text-white transition whitespace-nowrap m-0.5 max-w-full overflow-hidden h-8 flex items-center',
106106
selectButtonTagText: 'px-3',
107107
selectButtonTagDeleteButton: '-ml-1.5 h-full hover:bg-blue-600 hover:shadow-sm inline-flex items-center px-2 transition',
108108
selectButtonTagDeleteButtonIcon: 'w-3 h-3',
@@ -143,7 +143,7 @@ const TRichSelect = MultipleInput.extend({
143143
selectButton: 'px-3 py-2 text-black transition duration-100 ease-in-out bg-white border border-gray-300 rounded shadow-sm focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed',
144144
selectButtonLabel: '',
145145
selectButtonTagWrapper: '-mx-2 -my-2.5 py-1 pr-8',
146-
selectButtonTag: 'bg-blue-500 block disabled:cursor-not-allowed disabled:opacity-50 duration-100 ease-in-out focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 rounded shadow-sm text-sm text-white transition white-space-normal m-0.5 max-w-full overflow-hidden h-8 flex items-center',
146+
selectButtonTag: 'bg-blue-500 block disabled:cursor-not-allowed disabled:opacity-50 duration-100 ease-in-out focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 rounded shadow-sm text-sm text-white transition whitespace-nowrap m-0.5 max-w-full overflow-hidden h-8 flex items-center',
147147
selectButtonTagText: 'px-3',
148148
selectButtonTagDeleteButton: '-ml-1.5 h-full hover:bg-blue-600 hover:shadow-sm inline-flex items-center px-2 transition',
149149
selectButtonTagDeleteButtonIcon: '',

0 commit comments

Comments
 (0)