mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Make position of letter edit links absolute
Previously they were relative (ie percentages). This made sure that they worked on mobile, when the letter might be narrower. However it broke when the preview was more than one page, because 13% of the height of 2 pages is different to 13% of the height of one pages. This commit changes the positions to be pixel values, which match the calculated percentage values when the preview is one page.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
.edit-template-link-letter-contact {
|
||||
@extend %edit-template-link;
|
||||
right: -25px;
|
||||
top: 13.3%; // align to top of contact block
|
||||
top: 138px; // align to top of contact block
|
||||
}
|
||||
|
||||
.edit-template-link-letter-address {
|
||||
@@ -36,6 +36,6 @@
|
||||
|
||||
.edit-template-link-letter-body {
|
||||
@extend %edit-template-link;
|
||||
top: 38.5%; // aligns to top of subject
|
||||
top: 400px; // aligns to top of subject
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user