Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion frontend/src/pages/communities/components/TinderCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const TinderCard = ({ data, depth = 0, onLike, onDislike, className }: Pr

const bg = useColorModeValue('white', 'gray.800')
const infoColor = useColorModeValue('gray.600', 'gray.300')
const placeholderBg = useColorModeValue('#efefef', '#2A2A2A')
const placeholderBg = useColorModeValue('#efefef', '#efefef') // 2a2a2a should be, but no dark mode image rn

return (
<Box
Expand Down Expand Up @@ -51,6 +51,8 @@ export const TinderCard = ({ data, depth = 0, onLike, onDislike, className }: Pr
height="100%"
marginTop={{ base: 4, md: 10 }}
objectFit="contain"
bg={placeholderBg}
p={{ base: 3, md: 6 }}
draggable={false}
onDragStart={(e) => e.preventDefault()}
sx={{ WebkitUserDrag: 'none' }}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/communities/tinder.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { AbsolutePaths } from '../../util/paths'
import { type TinderCommunity } from '../../util/views/tinder.ts'
import { TinderCard } from './components/TinderCard'

const SWIPE_THRESHOLD = 220
const SWIPE_THRESHOLD = 150

const TinderPage = () => {
const config = useConfigContext()?.components
Expand Down
Loading