Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-12-14 09:10:49 +01:00
9 changed files with 48 additions and 31 deletions

View File

@@ -342,7 +342,9 @@ class Header extends ImmutablePureComponent {
<div className='account__header__tabs__name'>
<h1>
<span dangerouslySetInnerHTML={displayNameHtml} /> {badge}
<small>@{acct} {lockedIcon}</small>
<small>
<span>@{acct}</span> {lockedIcon}
</small>
</h1>
</div>

View File

@@ -330,8 +330,10 @@ export default function compose(state = initialState, action) {
map.set('preselectDate', new Date());
map.set('idempotencyKey', uuid());
if (action.status.get('language')) {
if (action.status.get('language') && !action.status.has('translation')) {
map.set('language', action.status.get('language'));
} else {
map.set('language', state.get('default_language'));
}
if (action.status.get('spoiler_text').length > 0) {

View File

@@ -1681,6 +1681,15 @@ a.sparkline {
box-sizing: border-box;
min-height: 100%;
a {
text: &highlight-text-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
p {
margin-bottom: 20px;
unicode-bidi: plaintext;

View File

@@ -7092,6 +7092,10 @@ noscript {
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
span {
user-select: all;
}
}
}
}