parent
2db9ccaf3e
commit
d1a78eba15
10 changed files with 186 additions and 2 deletions
|
@ -39,7 +39,7 @@ class OEmbedSerializer < ActiveModel::Serializer
|
|||
def html
|
||||
attributes = {
|
||||
src: embed_short_account_status_url(object.account, object),
|
||||
style: 'width: 100%; overflow: hidden',
|
||||
class: 'mastodon-embed',
|
||||
frameborder: '0',
|
||||
scrolling: 'no',
|
||||
width: width,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue