Skip to content

Commit

Permalink
don't try to dynamically resize Twitter timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Mar 29, 2022
1 parent 64ad2ff commit 38d80c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions assets/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
}

.twitter-timeline, .timeline-cell {
height: 450px;
@media (min-width: 600px) {
height: 700px !important;
}
height: 500px;
}


Expand Down Expand Up @@ -65,7 +62,7 @@
}
#career-text {
text-align: left;
margin-top: 230px;
margin-top: 100px;
}
}

Expand Down Expand Up @@ -130,4 +127,4 @@ img.emoji-img {
@media (min-width: 1100px) {
max-width: 40%;
}
}
}
4 changes: 2 additions & 2 deletions content/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1 class="small-title mega-margin open-source-title">Follow Us <a target="_blan
rel="noopener" href="https://twitter.com/TwitterOSS">@TwitterOSS</a></h1>
</div>
<div id="open-source-timeline" class="timeline-cell">
<a class="twitter-timeline" data-height="450px" href="https://twitter.com/TwitterOSS?ref_src=twsrc%5Etfw">Tweets by TwitterOSS</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<a class="twitter-timeline" data-height="500" href="https://twitter.com/TwitterOSS?ref_src=twsrc%5Etfw">Tweets by TwitterOSS</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
</div>
Expand All @@ -70,7 +70,7 @@ <h1 class="small-title mega-margin career-title">Join the Flock</h1>
<a href="https://careers.twitter.com" class="Button Button--primary Button--large">View All Careers</a>
</div>
<div class="timeline-cell">
<a class="twitter-timeline" data-height="450px" href="https://twitter.com/TwitterCareers?ref_src=twsrc%5Etfw">Tweets by TwitterCareers</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<a class="twitter-timeline" data-height="500" href="https://twitter.com/TwitterCareers?ref_src=twsrc%5Etfw">Tweets by TwitterCareers</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
</div>

0 comments on commit 38d80c8

Please sign in to comment.