diff --git a/components/FeedWrapper.tsx b/components/FeedWrapper.tsx index 2bd7078..90ba663 100644 --- a/components/FeedWrapper.tsx +++ b/components/FeedWrapper.tsx @@ -23,7 +23,7 @@ const FeedWrapper = styled('div', { label: 'FeedWrapper' })` } && header { - height: 77px; + height: auto; border: 0; border-bottom: 1px solid ${(props) => props.theme.palette.primary.light}; box-shadow: none; diff --git a/components/dashboard/Header.tsx b/components/dashboard/Header.tsx index 54ed100..9b1d57b 100644 --- a/components/dashboard/Header.tsx +++ b/components/dashboard/Header.tsx @@ -13,7 +13,7 @@ const StyledHeader = styled('header')` & h1 > a { display: -webkit-box; -webkit-box-orient: vertical; - -webkit-line-clamp: 2; + -webkit-line-clamp: 5; overflow: hidden; } `; diff --git a/social-butterfly/feeds.ts b/social-butterfly/feeds.ts index ac84473..63e3bec 100644 --- a/social-butterfly/feeds.ts +++ b/social-butterfly/feeds.ts @@ -188,12 +188,13 @@ async function handleEntry(feedEntry: FeedParser.Node, userRemote: UserRemote): const avatar = pocoPhotos && pocoPhotos['poco:value']['#']; const title = (feedEntry.title || 'untitled') - .replace(/“/g, '“') - .replace(/”/g, '”') + .replace(/–/g, '–') + .replace(/—/g, '—') .replace(/‘/g, '‘') .replace(/’/g, '’') - .replace(/–/g, '–') - .replace(/—/g, '—'); + .replace(/“/g, '“') + .replace(/”/g, '”') + .replace(/…/g, '…'); return { id: existingModelEntry?.id || undefined,