Enhance text on location banner
Fix failing test and css fixes
This commit is contained in:
parent
0386a54ad3
commit
3eb0ecf994
3 changed files with 13 additions and 3 deletions
|
|
@ -129,8 +129,18 @@ a:after {
|
||||||
i{
|
i{
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
i:hover{
|
i:hover{
|
||||||
color: #16a085;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
%strong #{ @conference.venue.address }
|
%strong #{ @conference.venue.address }
|
||||||
- unless @conference.venue.description.blank?
|
- unless @conference.venue.description.blank?
|
||||||
%p
|
%p
|
||||||
%strong #{ @conference.venue.description }
|
= @conference.venue.description
|
||||||
%ul.location-links
|
%ul.location-links
|
||||||
- unless @conference.venue.address.blank?
|
- unless @conference.venue.address.blank?
|
||||||
%li
|
%li
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ describe 'conference/show.html.haml' do
|
||||||
|
|
||||||
it 'renders banner component' do
|
it 'renders banner component' do
|
||||||
expect(view.content_for(:splash)).to include("#{@conference.description}")
|
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
|
end
|
||||||
|
|
||||||
it 'renders program partial' do
|
it 'renders program partial' do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue