mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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{
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue