fix: fediverse statuses caused overflow
This commit is contained in:
parent
c56db7d692
commit
342ebde2d4
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue