From 8eeafd3fed5472d2448c8e83295e25e1c2d8ac11 Mon Sep 17 00:00:00 2001 From: Mohit Panjwani Date: Wed, 6 Jan 2021 21:12:22 +0530 Subject: [PATCH] fix tailwind-v2 issues --- .../assets/js/components/base/theme/BaseSelect.js | 4 ++-- resources/assets/js/components/theme/SwDropdown.js | 4 ++-- .../customers/partials/CustomerViewSidebar.vue | 14 +++++++------- resources/assets/js/views/errors/404.vue | 2 +- .../assets/js/views/estimates/CustomerSelect.vue | 4 ++-- resources/assets/js/views/estimates/View.vue | 12 ++++++------ .../assets/js/views/invoices/CustomerSelect.vue | 4 ++-- resources/assets/js/views/invoices/Item.vue | 2 +- resources/assets/js/views/invoices/View.vue | 12 ++++++------ resources/assets/js/views/payments/View.vue | 14 +++++++------- .../assets/js/views/reports/ExpensesReport.vue | 2 +- .../assets/js/views/reports/ProfitLossReport.vue | 2 +- resources/assets/js/views/reports/SalesReports.vue | 2 +- resources/assets/js/views/reports/TaxReport.vue | 2 +- .../assets/js/views/settings/BackupSetting.vue | 2 +- .../js/views/settings/CustomFieldsSetting.vue | 2 +- .../js/views/settings/ExpenseCategorySetting.vue | 4 ++-- .../assets/js/views/settings/FileDiskSetting.vue | 2 +- .../assets/js/views/settings/NotesSetting.vue | 2 +- .../js/views/settings/PaymentsModeSetting.vue | 2 +- .../assets/js/views/settings/TaxTypesSetting.vue | 2 +- .../js/views/settings/UserProfileSetting.vue | 6 +++--- .../views/settings/customization-tabs/ItemsTab.vue | 2 +- 23 files changed, 52 insertions(+), 52 deletions(-) diff --git a/resources/assets/js/components/base/theme/BaseSelect.js b/resources/assets/js/components/base/theme/BaseSelect.js index d136576c..5eead346 100644 --- a/resources/assets/js/components/base/theme/BaseSelect.js +++ b/resources/assets/js/components/base/theme/BaseSelect.js @@ -12,7 +12,7 @@ export default { disabledMultiSelectTags: 'bg-gray-200 text-gray-400', multiselectTagsWrap: 'multiselect__tags-wrap inline', multiselectTag: - 'multiselect__tag relative inline-block pt-1 pr-6 pb-1 pl-2 rounded mr-2 text-white leading-none mb-1 whitespace-no-wrap overflow-hidden max-w-full', + 'multiselect__tag relative inline-block pt-1 pr-6 pb-1 pl-2 rounded mr-2 text-white leading-none mb-1 whitespace-nowrap overflow-hidden max-w-full', multiselectTagIcon: 'multiselect__tag-icon cursor-pointer ml-2 absolute right-0 top-0 bottom-0 font-bold w-5 text-center leading-5 delay-200 transition-all ease-linear rounded', multiselectStrong: 'mb-2 leading-5 inline-block align-top', @@ -26,6 +26,6 @@ export default { multiselectContent: 'multiselect__content list-none inline-block p-0 m-0 min-w-full align-top', multiselectOption: - 'multiselect__option block p-3 no-underline leading-4 normal-case align-middle relative cursor-pointer whitespace-no-wrap text-sm', + 'multiselect__option block p-3 no-underline leading-4 normal-case align-middle relative cursor-pointer whitespace-nowrap text-sm', multiselectElement: 'multiselect__element block', } diff --git a/resources/assets/js/components/theme/SwDropdown.js b/resources/assets/js/components/theme/SwDropdown.js index 17b1de9e..bcf6815a 100644 --- a/resources/assets/js/components/theme/SwDropdown.js +++ b/resources/assets/js/components/theme/SwDropdown.js @@ -6,7 +6,7 @@ export default { itemContainer: 'z-10 p-2 max-h-60 text-base text-left list-none rounded border-0 shadow bg-white text-black overflow-auto sw-scroll', item: - 'flex p-2 text-sm font-light text-left text-black bg-transparent rounded cursor-pointer none hover:bg-gray-200 whitespace-no-wrap', + 'flex p-2 text-sm font-light text-left text-black bg-transparent rounded cursor-pointer none hover:bg-gray-200 whitespace-nowrap', itemIcon: 'w-5 h-5 mr-3 text-secondary', }, variants: { @@ -16,7 +16,7 @@ export default { divider: 'border-t border-solid border-gray-200 my-2 mx-0 overflow-hidden', item: - 'flex p-0 text-sm font-light text-left text-black bg-transparent rounded cursor-pointer none hover:bg-gray-200 whitespace-no-wrap', + 'flex p-0 text-sm font-light text-left text-black bg-transparent rounded cursor-pointer none hover:bg-gray-200 whitespace-nowrap', itemContainer: 'z-10 p-2 text-base text-left list-none rounded border-0 shadow bg-white text-black', itemIcon: 'w-5 h-5 mr-3 text-secondary', diff --git a/resources/assets/js/views/customers/partials/CustomerViewSidebar.vue b/resources/assets/js/views/customers/partials/CustomerViewSidebar.vue index e5f9da10..1fc2eabf 100644 --- a/resources/assets/js/views/customers/partials/CustomerViewSidebar.vue +++ b/resources/assets/js/views/customers/partials/CustomerViewSidebar.vue @@ -35,10 +35,10 @@
{{ customer.contact_name }}
-
+
diff --git a/resources/assets/js/views/estimates/CustomerSelect.vue b/resources/assets/js/views/estimates/CustomerSelect.vue index 79f04c92..db820fcb 100644 --- a/resources/assets/js/views/estimates/CustomerSelect.vue +++ b/resources/assets/js/views/estimates/CustomerSelect.vue @@ -25,7 +25,7 @@
@@ -77,7 +77,7 @@
diff --git a/resources/assets/js/views/estimates/View.vue b/resources/assets/js/views/estimates/View.vue index a79bb079..099a13a1 100644 --- a/resources/assets/js/views/estimates/View.vue +++ b/resources/assets/js/views/estimates/View.vue @@ -32,8 +32,8 @@ {{ $t('general.edit') }} @@ -96,8 +96,8 @@ {{ estimate.status }}
-
+
@@ -79,7 +79,7 @@
diff --git a/resources/assets/js/views/invoices/Item.vue b/resources/assets/js/views/invoices/Item.vue index fc307910..163fb3d2 100644 --- a/resources/assets/js/views/invoices/Item.vue +++ b/resources/assets/js/views/invoices/Item.vue @@ -83,7 +83,7 @@
-