diff --git a/src/components/anfragencenter/InquiryReplyComposer.tsx b/src/components/anfragencenter/InquiryReplyComposer.tsx index 7980363..8c9f356 100644 --- a/src/components/anfragencenter/InquiryReplyComposer.tsx +++ b/src/components/anfragencenter/InquiryReplyComposer.tsx @@ -131,7 +131,7 @@ export function InquiryReplyComposer({ value={body} onChange={e => { setBody(e.target.value); setIsAIDraft(false) }} multiline - rows={5} + rows={7} placeholder="Antwort verfassen..." fullWidth sx={isAIDraft ? { '& .MuiOutlinedInput-root': { borderColor: '#ddd6fe' }, '& fieldset': { borderColor: '#ddd6fe !important' } } : {}} diff --git a/src/components/anfragencenter/RelatedPropertyCardPanel.tsx b/src/components/anfragencenter/RelatedPropertyCardPanel.tsx index dba7b13..09c631c 100644 --- a/src/components/anfragencenter/RelatedPropertyCardPanel.tsx +++ b/src/components/anfragencenter/RelatedPropertyCardPanel.tsx @@ -179,21 +179,21 @@ function MatchSliderCard({ match }: { match: AdditionalPropertyMatch }) { onClick={() => navigate('/supply/properties')} sx={{ flexShrink: 0, - width: 240, + width: 168, border: '1px solid #e8e7e4', - borderRadius: 2, + borderRadius: 1.5, overflow: 'hidden', cursor: 'pointer', bgcolor: 'white', transition: 'border-color 0.15s, box-shadow 0.15s', '&:hover': { borderColor: '#b0aead', - boxShadow: '0 4px 14px rgba(0,0,0,0.09)', + boxShadow: '0 2px 8px rgba(0,0,0,0.08)', }, }} > - {/* Image — same aspectRatio: '3/2' as PropertyIntelligenceCard */} - + {/* Image — 16:9 crop, compact supplementary card */} + {match.imageUrl ? ( ) : ( - + )} {/* Score badge overlay */} @@ -225,17 +225,22 @@ function MatchSliderCard({ match }: { match: AdditionalPropertyMatch }) { {match.matchScore}% - - - {match.title} - - - {match.location} · {match.areaSqm.toLocaleString('de-CH')} m² + + + + {match.title} + + + {match.matchScore}% + + + + {match.location} {match.reasons[0] && ( - + + {match.reasons[0]} )}