Adjust status embeds (#4808)
* Adjust status embeds Adjust styles of embed code. Adjust styles of embed pages. Fix overflow of embed-modal. * Remove trailing whitespace * Using width from the variable
This commit is contained in:
parent
672df4ecc0
commit
4c3dd0b254
4 changed files with 97 additions and 92 deletions
|
@ -40,8 +40,7 @@ class OEmbedSerializer < ActiveModel::Serializer
|
|||
attributes = {
|
||||
src: embed_short_account_status_url(object.account, object),
|
||||
class: 'mastodon-embed',
|
||||
frameborder: '0',
|
||||
scrolling: 'no',
|
||||
style: 'max-width: 100%; border: none;',
|
||||
width: width,
|
||||
height: height,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue