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;
}
ul img {
.user img {
border-radius: 50%;
width: 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')
i.fa.fa-code-fork
| API Endpoints
h3.text-primary Latest 50 Tweets containing the word "Hackathon" within NYC 5 mile radius
ul.list
h3.text-primary Latest 50 Tweets containing "Hackathon" in NYC within 5 miles
ul.list-unstyled
for tweet in tweets
li
small
strong #{tweet.user.name}
span.text-muted @#{tweet.user.screen_name}
.clearfix
- var image = tweet.user.profile_image_url.replace('_normal', '');
img.pull-left(src='#{image}', width=50, height=50)
small #{tweet.text}
.panel.panel-default
.panel-heading
=tweet.user.name
small.text-muted @#{tweet.user.screen_name}
.panel-body
.clearfix
- var image = tweet.user.profile_image_url.replace('_normal', '');
img.pull-left(src='#{image}', width=50, height=50)
small #{tweet.text}