Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mastodon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Boudes
mastodon
Commits
5a3f174d
Unverified
Commit
5a3f174d
authored
1 year ago
by
Claire
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix follow link style in embeds (#25965)
parent
ba0649f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/helpers/accounts_helper.rb
+1
-1
1 addition, 1 deletion
app/helpers/accounts_helper.rb
app/javascript/styles/mastodon/statuses.scss
+12
-0
12 additions, 0 deletions
app/javascript/styles/mastodon/statuses.scss
with
13 additions
and
1 deletion
app/helpers/accounts_helper.rb
+
1
−
1
View file @
5a3f174d
...
...
@@ -22,7 +22,7 @@ module AccountsHelper
def
account_action_button
(
account
)
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'
)])
end
end
...
...
This diff is collapsed.
Click to expand it.
app/javascript/styles/mastodon/statuses.scss
+
12
−
0
View file @
5a3f174d
...
...
@@ -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
{
.status__content
[
data-spoiler
=
'folded'
]
{
.e-content
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment