diff --git a/3p/twitter.js b/3p/twitter.js index 361e1b880327..8356a7cf428a 100644 --- a/3p/twitter.js +++ b/3p/twitter.js @@ -42,6 +42,9 @@ export function twitter(global, data) { const tweet = global.document.createElement('div'); tweet.id = 'tweet'; tweet.style.width = '100%'; + tweet.style.display = 'flex'; + tweet.style.alignItems = 'center'; + tweet.style.justifyContent = 'center'; global.document.getElementById('c').appendChild(tweet); getTwttr(global, function(twttr) { // Dimensions are given by the parent frame.