Merge branch 'reply-indicator-styles' into 'develop'

Fix styles in reply indicator

Closes #1060

See merge request soapbox-pub/soapbox-fe!1724
environments/review-develop-3zknud/deployments/762
marcin mikołajczak 2022-08-12 09:14:33 +00:00
commit 2d9ac9e22e
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -43,7 +43,7 @@ const ReplyIndicator: React.FC<IReplyIndicator> = ({ status, hideActions, onCanc
/> />
<Text <Text
className='break-words' className='break-words status__content'
size='sm' size='sm'
dangerouslySetInnerHTML={{ __html: status.contentHtml }} dangerouslySetInnerHTML={{ __html: status.contentHtml }}
direction={isRtl(status.search_index) ? 'rtl' : 'ltr'} direction={isRtl(status.search_index) ? 'rtl' : 'ltr'}

Wyświetl plik

@ -54,6 +54,10 @@
padding: 8px 12px; padding: 8px 12px;
margin-bottom: 20px; margin-bottom: 20px;
word-break: break-all; word-break: break-all;
&:last-child {
margin-bottom: 0;
}
} }
/* Markdown images */ /* Markdown images */