From 076c5d278406cd1c1689a3868df419fcfaa956dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Gonz=C3=A1lez?= Date: Wed, 18 Jan 2017 13:05:16 +0100 Subject: [PATCH] Use the full width key dates html where is possible, fix svg margin --- app/assets/stylesheets/legislation_process.scss | 7 +++---- app/views/legislation/annotations/index.html.erb | 4 ++-- app/views/legislation/annotations/show.html.erb | 4 ++-- app/views/legislation/draft_versions/changes.html.erb | 4 ++-- app/views/legislation/draft_versions/show.html.erb | 4 ++-- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/legislation_process.scss b/app/assets/stylesheets/legislation_process.scss index 052c86727..76ef88501 100644 --- a/app/assets/stylesheets/legislation_process.scss +++ b/app/assets/stylesheets/legislation_process.scss @@ -187,11 +187,10 @@ $epigraph-font-size: rem-calc(15); svg { position: absolute; top: 1.25rem; - left: -1rem; - - @include breakpoint(medium) { + + @include breakpoint(1280px) { transform: rotate(-6deg); - top: 0.75rem; + left: -1rem; } } diff --git a/app/views/legislation/annotations/index.html.erb b/app/views/legislation/annotations/index.html.erb index ead25ae3b..87efc3614 100644 --- a/app/views/legislation/annotations/index.html.erb +++ b/app/views/legislation/annotations/index.html.erb @@ -2,9 +2,9 @@ <%= render 'legislation/processes/header', process: @process, header: :small %> -
- <%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +<%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +
<%= render 'version_chooser', process: @process, draft_version: @draft_version %> diff --git a/app/views/legislation/annotations/show.html.erb b/app/views/legislation/annotations/show.html.erb index e03304e59..25d56e99c 100644 --- a/app/views/legislation/annotations/show.html.erb +++ b/app/views/legislation/annotations/show.html.erb @@ -2,9 +2,9 @@ <%= render 'legislation/processes/header', process: @process, header: :small %> -
- <%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +<%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +
<%= render 'version_chooser', process: @process, draft_version: @draft_version %> diff --git a/app/views/legislation/draft_versions/changes.html.erb b/app/views/legislation/draft_versions/changes.html.erb index c158b9540..bf243ae70 100644 --- a/app/views/legislation/draft_versions/changes.html.erb +++ b/app/views/legislation/draft_versions/changes.html.erb @@ -2,9 +2,9 @@ <%= render 'legislation/processes/header', process: @process, header: :small %> -
- <%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +<%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +
diff --git a/app/views/legislation/draft_versions/show.html.erb b/app/views/legislation/draft_versions/show.html.erb index 615a86fc8..fc3dadaaf 100644 --- a/app/views/legislation/draft_versions/show.html.erb +++ b/app/views/legislation/draft_versions/show.html.erb @@ -2,9 +2,9 @@ <%= render 'legislation/processes/header', process: @process, header: :small %> -
- <%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +<%= render 'legislation/processes/key_dates', process: @process, phase: :allegations %> +