fix: fediverse statuses caused overflow

This commit is contained in:
grassblock 2025-05-18 20:48:58 +08:00
parent c56db7d692
commit 342ebde2d4

View file

@ -193,8 +193,16 @@ const { instanceDomain, userId, extraParams = '' } = Astro.props;
.account-name { .account-name {
color: #666; color: #666;
font-size: 0.9em; font-size: 0.9em;
/* fix overflow caused by long names */
word-break: break-word;
}
/* post content */
.post .content pre code {
/*this should fix code overflows*/
white-space: pre-wrap;
overflow-wrap: break-word;
word-break: normal;
} }
/* post actions */ /* post actions */
.post-actions { .post-actions {
margin-top: 10px; margin-top: 10px;