Enable server-side clustering on all catalog pages
All checks were successful
Build Docker Image / build (push) Successful in 4m37s
All checks were successful
Build Docker Image / build (push) Successful in 4m37s
- Add clusterNodeType prop to CatalogPage - Update useClusteredNodes to accept nodeType parameter - Enable server clustering on /offers and /suppliers pages - Add hoveredId sync on /offers page - Remove hover:shadow-lg animation from Card
This commit is contained in:
@@ -35,7 +35,7 @@ const toneMap: Record<string, string> = {
|
||||
const cardClass = computed(() => {
|
||||
const paddingClass = paddingMap[props.padding] || paddingMap.medium
|
||||
const toneClass = toneMap[props.tone] || toneMap.default
|
||||
const interactiveClass = props.interactive ? 'cursor-pointer hover:shadow-lg' : ''
|
||||
const interactiveClass = props.interactive ? 'cursor-pointer' : ''
|
||||
const baseClass = 'card transition-all duration-200'
|
||||
return [baseClass, paddingClass, toneClass, interactiveClass].filter(Boolean).join(' ')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user