Enhance text on location banner

Fix failing test and css fixes
This commit is contained in:
Gopesh Tulsyan
2014-06-26 22:25:15 +05:30
parent 0386a54ad3
commit 3eb0ecf994
3 changed files with 13 additions and 3 deletions

View File

@@ -129,8 +129,18 @@ a:after {
i{
color: #4a4a4a;
}
i:hover{
color: #16a085;
}
}
#location{
h1,h2,p{
color: #fff;
}
h1,h2,li,p{
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
font-weight: 400;
}
}

View File

@@ -14,7 +14,7 @@
%strong #{ @conference.venue.address }
- unless @conference.venue.description.blank?
%p
%strong #{ @conference.venue.description }
= @conference.venue.description
%ul.location-links
- unless @conference.venue.address.blank?
%li

View File

@@ -33,7 +33,7 @@ describe 'conference/show.html.haml' do
it 'renders banner component' do
expect(view.content_for(:splash)).to include("#{@conference.description}")
expect(view.content_for(:splash)).to include("#{@conference.title}")
expect(view.content_for(:splash)).to include("#{@conference.short_title}")
end
it 'renders program partial' do