Reverted back to .user class as it was causing side-effect issues.

UI cleanup on Twitter page.
pull/2/head
Sahat Yalkabov 2013-12-10 03:08:43 -05:00
parent 1b4a74b46b
commit e212ddb629
2 changed files with 12 additions and 10 deletions

View File

@ -6,7 +6,7 @@ body {
padding-top: 50px; padding-top: 50px;
} }
ul img { .user img {
border-radius: 50%; border-radius: 50%;
width: 40px; width: 40px;
height: 40px; height: 40px;

View File

@ -14,14 +14,16 @@ block content
a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs/api/1.1', target='_blank') a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
i.fa.fa-code-fork i.fa.fa-code-fork
| API Endpoints | API Endpoints
h3.text-primary Latest 50 Tweets containing the word "Hackathon" within NYC 5 mile radius h3.text-primary Latest 50 Tweets containing "Hackathon" in NYC within 5 miles
ul.list ul.list-unstyled
for tweet in tweets for tweet in tweets
li li
small .panel.panel-default
strong #{tweet.user.name} .panel-heading
span.text-muted @#{tweet.user.screen_name} =tweet.user.name
.clearfix small.text-muted @#{tweet.user.screen_name}
- var image = tweet.user.profile_image_url.replace('_normal', ''); .panel-body
img.pull-left(src='#{image}', width=50, height=50) .clearfix
small #{tweet.text} - var image = tweet.user.profile_image_url.replace('_normal', '');
img.pull-left(src='#{image}', width=50, height=50)
small #{tweet.text}