From 13784eb9b494db633ddd9f431ee2f408b21359d5 Mon Sep 17 00:00:00 2001 From: Taz17 Date: Tue, 14 Dec 2021 16:56:44 +1100 Subject: [PATCH 1/3] Added remmove-padding class --- .../stylesheets/policies/_policy-voter-comparision.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/policies/_policy-voter-comparision.scss b/app/assets/stylesheets/policies/_policy-voter-comparision.scss index ec9293832..2e584f7b6 100644 --- a/app/assets/stylesheets/policies/_policy-voter-comparision.scss +++ b/app/assets/stylesheets/policies/_policy-voter-comparision.scss @@ -130,3 +130,7 @@ *:hover > .anchor { display: block; } + +.remove-padding { + padding: 0px 0px; +} \ No newline at end of file From bb41c9b8bf0e512161aeffcd4e480faf5811829a Mon Sep 17 00:00:00 2001 From: Taz17 Date: Tue, 14 Dec 2021 16:58:47 +1100 Subject: [PATCH 2/3] fixed alignment using remove-padding class.. Fixes #1095 --- app/views/policies/show_with_member.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/policies/show_with_member.html.haml b/app/views/policies/show_with_member.html.haml index c3b20a186..67df37465 100644 --- a/app/views/policies/show_with_member.html.haml +++ b/app/views/policies/show_with_member.html.haml @@ -22,7 +22,7 @@ = render "policies/draft_warning", policy: @policy -%p.col-sm-7 +%p.col-sm-7.remove-padding How = link_to @member.name, @member voted compared to someone who believes that From 84eca24b8e490af33706f1fe531acd45c34c63f1 Mon Sep 17 00:00:00 2001 From: Taz17 Date: Wed, 15 Dec 2021 11:50:48 +1100 Subject: [PATCH 3/3] Updated tests for new changes --- .../people/representatives/griffith/kevin_rudd/policies/1.html | 2 +- .../representatives/warringah/tony_abbott/policies/1.html | 2 +- .../people/senate/tasmania/christine_milne/policies/1.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/fixtures/static_pages/people/representatives/griffith/kevin_rudd/policies/1.html b/spec/fixtures/static_pages/people/representatives/griffith/kevin_rudd/policies/1.html index 6cbcffbc4..b934ef86f 100644 --- a/spec/fixtures/static_pages/people/representatives/griffith/kevin_rudd/policies/1.html +++ b/spec/fixtures/static_pages/people/representatives/griffith/kevin_rudd/policies/1.html @@ -94,7 +94,7 @@