From 4242632a30958d212c29c72ab6f09aba9b3a6b50 Mon Sep 17 00:00:00 2001 From: Montana Date: Wed, 5 Jun 2019 15:52:56 -0400 Subject: [PATCH] Change `More/Less` anchor styling -no longer overlaps text in an ugly way --- styles/core/_util.scss | 8 ++++++-- templates/portfolios/task_orders/review.html | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/styles/core/_util.scss b/styles/core/_util.scss index c90e0d1c..80b1339c 100644 --- a/styles/core/_util.scss +++ b/styles/core/_util.scss @@ -49,11 +49,15 @@ .semi-collapsed { overflow: hidden; - height: $gap * 5.5; + height: 5.1rem; } .more { - margin-top: -2.5rem; + margin-top: -4.4rem; + padding-left: 1.25rem; + background-color: $color-offwhite; + position: relative; + cursor: pointer; } .green { diff --git a/templates/portfolios/task_orders/review.html b/templates/portfolios/task_orders/review.html index 21d32dd6..d2a4257e 100644 --- a/templates/portfolios/task_orders/review.html +++ b/templates/portfolios/task_orders/review.html @@ -10,9 +10,9 @@
-
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -

+

More{{ Icon('caret_down') }} Less{{ Icon('caret_up') }}
@@ -22,7 +22,7 @@
Review your task order
-
Check to make sure the information you entered is correct. After submission, you will confirm this task order was signed by a contracting officer. Thereafter, you will be informed as soon as CCPO completes their review.
+

Check to make sure the information you entered is correct. After submission, you will confirm this task order was signed by a contracting officer. Thereafter, you will be informed as soon as CCPO completes their review.

Task order number - 10 digit found in your system of record