Fix follow link style in embeds (#25965)
This commit is contained in:
parent
ba0649f042
commit
5a3f174d56
|
@ -22,7 +22,7 @@ module AccountsHelper
|
||||||
def account_action_button(account)
|
def account_action_button(account)
|
||||||
return if account.memorial? || account.moved?
|
return if account.memorial? || account.moved?
|
||||||
|
|
||||||
link_to ActivityPub::TagManager.instance.url_for(account), class: 'button', target: '_new' do
|
link_to ActivityPub::TagManager.instance.url_for(account), class: 'button logo-button', target: '_new' do
|
||||||
safe_join([logo_as_symbol, t('accounts.follow')])
|
safe_join([logo_as_symbol, t('accounts.follow')])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -77,6 +77,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button.logo-button svg {
|
||||||
|
width: 20px;
|
||||||
|
height: auto;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-inline-end: 5px;
|
||||||
|
fill: $primary-text-color;
|
||||||
|
|
||||||
|
@media screen and (max-width: $no-gap-breakpoint) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.embed {
|
.embed {
|
||||||
.status__content[data-spoiler='folded'] {
|
.status__content[data-spoiler='folded'] {
|
||||||
.e-content {
|
.e-content {
|
||||||
|
|
Reference in New Issue