mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-24 14:17:08 +00:00
[Glitch] Fix translate button position
Port 9f078e238d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
7e54a30f06
commit
0bfa4a990f
|
@ -97,7 +97,7 @@ class TranslateButton extends PureComponent {
|
|||
}
|
||||
|
||||
return (
|
||||
<button className='status__content__read-more-button' onClick={onClick}>
|
||||
<button className='status__content__translate-button' onClick={onClick}>
|
||||
<FormattedMessage id='status.translate' defaultMessage='Translate' />
|
||||
</button>
|
||||
);
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
.status__content a,
|
||||
.link-footer a,
|
||||
.reply-indicator__content a,
|
||||
.status__content__read-more-button {
|
||||
.status__content__read-more-button,
|
||||
.status__content__translate-button {
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover,
|
||||
|
|
|
@ -261,7 +261,8 @@ a.button.logo-button {
|
|||
}
|
||||
}
|
||||
|
||||
.status__content__read-more-button {
|
||||
.status__content__read-more-button,
|
||||
.status__content__translate-button {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
|
|
Loading…
Reference in a new issue