@saasmakers/ui 1.0.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -262,8 +262,8 @@ function selectOption(event: MouseEvent, value: string) {
|
|
|
262
262
|
:key="option.value"
|
|
263
263
|
class="group flex cursor-pointer items-center outline-none"
|
|
264
264
|
:class="{
|
|
265
|
-
'border-b border-gray-200 dark:border-gray-800 p-3 hover:bg-gray-100 dark:hover:bg-gray-
|
|
266
|
-
'px-2 py-1 last:mb-2': computedColumns.length >= 2,
|
|
265
|
+
'border-b border-gray-200 dark:border-gray-800 p-3 hover:bg-gray-100 dark:hover:bg-gray-800 last:border-b-0': computedColumns.length < 2,
|
|
266
|
+
'px-2 py-1 hover:bg-gray-100 dark:hover:bg-gray-800 last:mb-2': computedColumns.length >= 2,
|
|
267
267
|
'font-medium underline': selectedOption && option.value === selectedOption.value,
|
|
268
268
|
'text-gray-900 dark:text-gray-100': selectedOption && option.value === selectedOption.value,
|
|
269
269
|
'bg-white dark:bg-gray-900': selectedOption && option.value !== selectedOption.value,
|