From 760dd54d507b3fd2b0d24a8a2e769fd9eeff77ee Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Wed, 14 May 2025 11:15:43 -0500 Subject: [PATCH] CORE-981: Privacy policy styling [CORE-981] Instead of just making the bullet list left-justified, I replaced the center class with a new flush-left class that removes the paragraph-indent that it would otherwise have. This styles the Privacy and Terms pages closer to what is on osweb. --- app/assets/stylesheets/newflow.scss | 4 ++++ app/views/terms/show.html.erb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/newflow.scss b/app/assets/stylesheets/newflow.scss index c7c9715a6..f9b02bc18 100644 --- a/app/assets/stylesheets/newflow.scss +++ b/app/assets/stylesheets/newflow.scss @@ -309,6 +309,10 @@ input.has-error { margin: 0 auto; } +.flush-left p { + padding-left: 0; +} + .policy { max-width: 800px; margin: 20px auto; diff --git a/app/views/terms/show.html.erb b/app/views/terms/show.html.erb index 6c4a0858e..22f6b32f9 100644 --- a/app/views/terms/show.html.erb +++ b/app/views/terms/show.html.erb @@ -1,4 +1,4 @@ -<%= ox_card(classes: "center") do %> +<%= ox_card(classes: "flush-left") do %>
<%= @contract.content.html_safe %>