Browse Source

Fixed margins on home page

development
Godwin 9 years ago
parent
commit
e127258b39
  1. 1
      app/assets/stylesheets/_application.scss
  2. 3
      app/views/application/home.html.haml

1
app/assets/stylesheets/_application.scss

@ -916,6 +916,7 @@ ul.warnings li,
article { article {
padding: rems(2.5) 0; padding: rems(2.5) 0;
margin: 0 1em;
&.supplementary { &.supplementary {
margin: rems(1) 7.5%; margin: rems(1) 7.5%;

3
app/views/application/home.html.haml

@ -1,8 +1,9 @@
- this_is_the_front_page - this_is_the_front_page
- if @conference - if @conference
= render 'conferences/header' = render 'conferences/header'
%article
= row do = row do
= columns(tag: :article) do = columns(medium: 10, push: {medium: 1}) do
%h2=_!@conference.title %h2=_!@conference.title
= @conference.info.html_safe = @conference.info.html_safe
- if @conference.workshops - if @conference.workshops

Loading…
Cancel
Save