Skip to content

Commit

Permalink
Tooltip reposition
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyEPhipps committed Nov 22, 2023
1 parent 85ff075 commit 4a3558f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/pages/GiftAid/UpdateForm/UpdateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ function UpdateForm(props) {

<DonationTypeButtons donationTypeChoices={donationTypeChoices} />


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

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 4a3558f

Please sign in to comment.