Impose max-height on Tweets.
This commit is contained in:
parent
d1bc26b0ad
commit
4c33ff2142
@ -390,7 +390,7 @@ Embedding =
|
|||||||
,
|
,
|
||||||
key: 'Twitter'
|
key: 'Twitter'
|
||||||
regExp: /^\w+:\/\/(?:www\.)?twitter\.com\/(\w+\/status\/\d+)/
|
regExp: /^\w+:\/\/(?:www\.)?twitter\.com\/(\w+\/status\/\d+)/
|
||||||
style: 'border: none; width: 550px; height: 250px;'
|
style: 'border: none; width: 550px; height: 250px; max-height: 80vh;'
|
||||||
el: (a) ->
|
el: (a) ->
|
||||||
el = $.el 'iframe'
|
el = $.el 'iframe'
|
||||||
$.on el, 'load', ->
|
$.on el, 'load', ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user