diff --git a/src/pages/Maps/Content/View/Popup.tsx b/src/pages/Maps/Content/View/Popup.tsx index e004699f26..3eb57bd2d4 100644 --- a/src/pages/Maps/Content/View/Popup.tsx +++ b/src/pages/Maps/Content/View/Popup.tsx @@ -90,6 +90,10 @@ export class Popup extends React.Component { : g.type === pin.type }) const { lastActive, heroImageUrl, shortDescription, name } = pin.detail + const description = + shortDescription.length > 70 + ? shortDescription.substr(0, 70) + '...' + : shortDescription const lastActiveText = lastActive ? distanceInWords(lastActive, new Date()) : 'a long time' @@ -116,8 +120,8 @@ export class Popup extends React.Component { {name} - - {shortDescription} + + {description} last active {lastActiveText} ago {pin.moderation !== 'accepted' && ( diff --git a/src/pages/Settings/content/formSections/MapPin.section.tsx b/src/pages/Settings/content/formSections/MapPin.section.tsx index 04b37eccce..1759a06f05 100644 --- a/src/pages/Settings/content/formSections/MapPin.section.tsx +++ b/src/pages/Settings/content/formSections/MapPin.section.tsx @@ -78,13 +78,16 @@ export class UserMapPinSection extends React.Component { - Short description of your pin * + Short description of your pin* {!initialFormValues.location || editAddress ? (