Change More/Less anchor styling

-no longer overlaps text in an ugly way
This commit is contained in:
Montana 2019-06-05 15:52:56 -04:00
parent a2d1c470c1
commit 4242632a30
2 changed files with 9 additions and 5 deletions

View File

@ -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 {

View File

@ -10,9 +10,9 @@
<semi-collapsible-text inline-template>
<div>
<div v-bind:class="{ 'semi-collapsed' : !open }">
<p v-bind:class="{ 'semi-collapsed' : !open }">
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.
</div>
</p>
<a v-on:click='toggle' v-show="!open" class="right more">More{{ Icon('caret_down') }}</a>
<a v-on:click='toggle' v-show="open" class="right more">Less{{ Icon('caret_up') }}</a>
</div>
@ -22,7 +22,7 @@
<div class="h1">Review your task order</div>
<div>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.</div>
<p>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.</p>
<div class="row">
<div class="col">
<div class="h4">Task order number - 10 digit found in your system of record</div>