Hi!

I was wondering how do I wrap my Twitter feed in a div so the user can stroll within that div rather than the entire page.

This is my code (Vue.js):

<template>

  <div class="flex-box mt-3 w-50 mx-auto">
      <a class="twitter-timeline" data-chrome="nofooter noheader noborders tranparent" href="https://twitter.com/RyanMurph17/lists/manchester-united">
  </a>
    </div>

</template>

<script>
export default {
  data() {
    return { //returning data
    }
},
mounted(){

  let twitterScript = document.createElement('script')
  twitterScript.setAttribute('src', 'https://platform.twitter.com/widgets.js')
  document.head.appendChild(twitterScript)
}
}
</script>


<style>
.flex-box {

  float: left;
}
</style>

This is my dashboard currently:

Post image



Source link

Write A Comment