Skip to content

Commit 8466261

Browse files
committed
fix for punerb#75
1 parent 79ad95a commit 8466261

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

app/assets/stylesheets/style.css.sass

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ input.span8, .uneditable-input.span8
139139
margin-left: 55px
140140
.detail
141141
font-weight: bold
142-
margin-left: 10px
142+
margin: 10px
143143
font-size: 12px
144144
height: 25px
145145
span
@@ -165,3 +165,9 @@ input.span8, .uneditable-input.span8
165165
margin: -330px 0 0 -285px
166166
width: 575px
167167
text-align: center
168+
169+
div.floatLeft
170+
float: left
171+
172+
div.floatRight
173+
float: right

app/views/ideas/_idea.html.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
%span= raw idea.description.truncate(140)
99
= link_to 'Overview', "#idea-detail-#{idea.id}", class: 'details btn btn-info', data: {toggle: 'modal'}
1010
.detail
11-
%span
11+
.floatLeft
1212
%i.icon-calendar>
1313
= idea.schedules.last.try(:scheduled_at).try(:idea_date) or "soon"
1414
|
15-
%span
15+
.floatLeft
1616
%i.icon-user>
1717
=# pluralize(idea.users.count, "participant")
1818
= idea.users.count
19-
%span
19+
.floatRight
2020
= tweet_button :via => "joshideahub",:count=> "none", :url => idea_url(idea), :text => "This is an interesting idea! Help out "
2121

2222
.modal{style: "display:none", id: "idea-detail-#{idea.id}"}

0 commit comments

Comments
 (0)