about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-31 03:38:35 +0200
committerGitHub <noreply@github.com>2017-08-31 03:38:35 +0200
commitd1a78eba1558004f69ab8933b08ffe0093671546 (patch)
treec25b885ee78dfeb5c4cc8a06bded252ff5d7915e /app/serializers
parent2db9ccaf3eeada3106e88e08163495ae8e741574 (diff)
Embed modal (#4748)
* Embed modal

* Proxy OEmbed requests from web UI
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/oembed_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/oembed_serializer.rb b/app/serializers/oembed_serializer.rb
index 3b5350953..4f9293043 100644
--- a/app/serializers/oembed_serializer.rb
+++ b/app/serializers/oembed_serializer.rb
@@ -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,