diff options
author | Lynx Kotoura <lynx@lv9.org> | 2017-09-05 19:31:24 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-05 12:31:24 +0200 |
commit | 4c3dd0b25472b4d291f607979d255dd406856bef (patch) | |
tree | a1ec0388ffa6ca5f94481897248094b02422e4e4 /app/serializers | |
parent | 672df4ecc0d0563c58877a878264b9807102ecf0 (diff) |
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
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/oembed_serializer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/serializers/oembed_serializer.rb b/app/serializers/oembed_serializer.rb index 4f9293043..bd05da585 100644 --- a/app/serializers/oembed_serializer.rb +++ b/app/serializers/oembed_serializer.rb @@ -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, } |