Skip to content

Commit

Permalink
ENG-2904: Reposition Update text to make sense (#402)
Browse files Browse the repository at this point in the history
* Reposition header to make sense

* Tooltip reposition
  • Loading branch information
AndyEPhipps authored Nov 22, 2023
1 parent 6f70fbc commit 1af0140
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/pages/GiftAid/UpdateForm/UpdateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ function UpdateForm(props) {

<UrlTransactionIdError />

<h3 className="form--update__title form--update__title--giftaid text-align-centre">
Who is changing their declaration?
</h3>

<div className="form-fields--wrapper">

<DonationTypeButtons donationTypeChoices={donationTypeChoices} />

<h3 className="form--update__title form--update__title--giftaid text-align-centre">
Who is changing their declaration?
</h3>

<InputFields allFields={inputFieldProps} />

<PostcodeLookup
Expand Down
6 changes: 4 additions & 2 deletions src/styles/Tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: 30px;
background: url($image-path + "question-mark-60px.png") center center/30px no-repeat;
position: absolute;
top: 0;
bottom: 60px;
right: 0;
z-index: 1;
padding: 20px;
Expand All @@ -26,7 +26,7 @@
visibility: hidden;
opacity: 0;
position: absolute;
top: -37px;
bottom: -38px;
right: -5px;
transform: translateY(50%);
background: black;
Expand Down Expand Up @@ -60,6 +60,8 @@
left: auto;
right: -195px;
transform: translateY(-50%);
top: auto;
bottom: -95px;

&:after {
border: 15px solid transparent;
Expand Down

0 comments on commit 1af0140

Please sign in to comment.