mirror of
https://github.com/openSUSE/osem.git
synced 2026-05-25 00:50:35 -04:00
Enhance text on location banner
Fix failing test and css fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user