mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 Added colored background to items in group furni & fix catalog price
This commit is contained in:
@@ -24,10 +24,10 @@ export const LayoutGridItem: FC<LayoutGridItemProps> = props =>
|
||||
|
||||
const getClassNames = useMemo(() =>
|
||||
{
|
||||
const newClassNames: string[] = [ 'layout-grid-item', 'border', 'border-2', 'border-[#c4cabf]', 'rounded-[6px]' ];
|
||||
const newClassNames: string[] = [ 'layout-grid-item' ];
|
||||
|
||||
|
||||
if(itemActive) newClassNames.push('bg-[#e4e7df]! border-[#aeb7aa]!');
|
||||
if(itemActive) newClassNames.push('is-grid-active', 'bg-[#e4e7df]!');
|
||||
|
||||
if(itemUniqueSoldout || (itemUniqueNumber > 0)) newClassNames.push('unique-item');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user