<h4>Twitter <%= link_to "(@#{@representative.twitter_id})", @representative.twitter_url, class: 'muted' %></h4>

<span id="twitter-container">
  <a href="<%= @representative.twitter_url %>"
     class='twitter-timeline'
     height='445px';
     data-dnt='true'
     data-widget-id='<%= AppConfig.twitter_widget_id %>'
     data-lang='no'
     data-link-color='#019ea2'
     data-chrome='noheader nofooter'
     data-screen-name='<%= @representative.twitter_id %>'
     >
    Tweets fra <%= @representative.name %>
  </a>
</span>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>

<h4>Twitter <%= link_to "(@#{@representative.twitter_id})", @representative.twitter_url, class: 'muted' %></h4>

<div id="twitter-container">
  <a href="<%= @representative.twitter_url %>"
     class='twitter-timeline'
     height='445px'
     data-dnt='true'
     data-widget-id='<%= AppConfig.twitter_widget_id %>'
     data-lang='no'
     data-link-color='#019ea2'
     data-chrome='noheader nofooter'
     data-screen-name='<%= @representative.twitter_id %>'
     >
    Tweets fra <%= @representative.name %>
  </a>
</div>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>

Fix twitter widget width by replacing span with div
Fix twitter widget width by replacing span with div
