diff --git a/app/assets/stylesheets/pages.scss b/app/assets/stylesheets/pages.scss index d3db7e9b2..efde88d07 100644 --- a/app/assets/stylesheets/pages.scss +++ b/app/assets/stylesheets/pages.scss @@ -10,14 +10,24 @@ // ---------------------- .jumbo { + background: $highlight; margin-bottom: $line-height; margin-top: rem-calc(-24); padding-bottom: $line-height; padding-top: $line-height; + @include breakpoint(medium) { + padding: rem-calc(24) 0; + } + &.light { background: #ecf0f1; } + + h1, + p { + color: $text; + } } .lead { diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index f0d194301..1cc6e87c9 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -685,7 +685,8 @@ } .budget-investments-list .budget-investment, -.proposals-list .proposal { +.proposals-list .proposal, +.legislation-proposals .proposal { @include breakpoint(medium) { diff --git a/app/views/legislation/proposals/_form.html.erb b/app/views/legislation/proposals/_form.html.erb index 23c61a671..48ddc04fe 100644 --- a/app/views/legislation/proposals/_form.html.erb +++ b/app/views/legislation/proposals/_form.html.erb @@ -31,6 +31,12 @@ aria: {describedby: "video-url-help-text"} %> + <% if feature?(:allow_images) %> +
<%= t("proposals.show.code") %> @@ -113,9 +115,13 @@