td width with col-md
This commit is contained in:
parent
1890aece1d
commit
93bbd0ea0d
4 changed files with 8 additions and 7 deletions
|
|
@ -5,14 +5,15 @@
|
||||||
.avgrating.bright { background-image: image-url("star-bright.png"); }
|
.avgrating.bright { background-image: image-url("star-bright.png"); }
|
||||||
.avgrating {
|
.avgrating {
|
||||||
background: image-url("star.png") 0 0;
|
background: image-url("star.png") 0 0;
|
||||||
width: 26px;
|
margin-right: -2px;
|
||||||
height: 26px;
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.myrating, .othersrating {
|
.myrating, .othersrating {
|
||||||
background: image-url("star.png") 0 0;
|
background: image-url("star.png") 0 0;
|
||||||
width: 26px;
|
width: 24px;
|
||||||
height: 26px;
|
height: 24px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%table.table
|
%table.table
|
||||||
%tr
|
%tr
|
||||||
%td{:style => "width:15%"}
|
%td.col-md-2
|
||||||
%b Type
|
%b Type
|
||||||
%td
|
%td
|
||||||
.dropdown
|
.dropdown
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
%table.table#myrating
|
%table.table#myrating
|
||||||
%tr
|
%tr
|
||||||
%td{:style => "width:15%"}
|
%td.col-md-2
|
||||||
%b Rating
|
%b Rating
|
||||||
%td
|
%td
|
||||||
- if @event.average_rating.to_f > 0
|
- if @event.average_rating.to_f > 0
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
=link_to event.title, admin_conference_event_path(@conference.short_title, event)
|
=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
|
- 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
|
- if event.average_rating.to_f > 0
|
||||||
#{event.average_rating}/#{@conference.call_for_paper.rating}
|
#{event.average_rating}/#{@conference.call_for_paper.rating}
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue