td width with col-md

This commit is contained in:
Stella Rouzi 2015-03-01 17:15:57 +02:00
parent 1890aece1d
commit 93bbd0ea0d
4 changed files with 8 additions and 7 deletions

View file

@ -5,14 +5,15 @@
.avgrating.bright { background-image: image-url("star-bright.png"); }
.avgrating {
background: image-url("star.png") 0 0;
width: 26px;
height: 26px;
margin-right: -2px;
width: 24px;
height: 24px;
display: inline-block;
}
.myrating, .othersrating {
background: image-url("star.png") 0 0;
width: 26px;
height: 26px;
width: 24px;
height: 24px;
float: left;
}

View file

@ -11,7 +11,7 @@
.col-md-12
%table.table
%tr
%td{:style => "width:15%"}
%td.col-md-2
%b Type
%td
.dropdown

View file

@ -1,6 +1,6 @@
%table.table#myrating
%tr
%td{:style => "width:15%"}
%td.col-md-2
%b Rating
%td
- if @event.average_rating.to_f > 0

View file

@ -40,7 +40,7 @@
=link_to event.title, admin_conference_event_path(@conference.short_title, event)
- if @conference.call_for_paper && @conference.call_for_paper.rating && @conference.call_for_paper.rating > 0
%td{:style => "width:96px"}
%td.col-md-1
- if event.average_rating.to_f > 0
#{event.average_rating}/#{@conference.call_for_paper.rating}
%br