Skip to content

Commit db75843

Browse files
committed
Standardize matchmaking card media height and dark-logo contrast.
Set thumbnail containers to a fixed 178px height and apply a black background for avatar_dark logos so white marks remain visible. Made-with: Cursor
1 parent df4b995 commit db75843

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/js/components/matchmaking/ToolCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<div class="flex flex-col bg-white rounded-lg overflow-hidden">
33
<div
4-
class="flex-shrink-0 flex justify-center items-center w-full"
5-
:class="[tool.avatar_dark && 'bg-stone-800']"
4+
class="flex-shrink-0 flex justify-center items-center w-full h-[178px]"
5+
:class="[tool.avatar_dark ? 'bg-black' : 'bg-white']"
66
>
77
<img
88
:src="tool.avatar || '/images/matchmaking-tool/tool-placeholder.png'"
99
:class="[
10-
'w-full aspect-[2]',
10+
'w-full h-full',
1111
tool.avatar ? 'object-contain' : 'object-cover',
1212
]"
1313
/>

0 commit comments

Comments
 (0)