mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Merge pull request #1245 from alphagov/edit-link-positioning
Make position of letter edit links absolute
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
.edit-template-link-letter-contact {
|
.edit-template-link-letter-contact {
|
||||||
@extend %edit-template-link;
|
@extend %edit-template-link;
|
||||||
right: -25px;
|
right: -25px;
|
||||||
top: 13.3%; // align to top of contact block
|
top: 138px; // align to top of contact block
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-template-link-letter-address {
|
.edit-template-link-letter-address {
|
||||||
@@ -36,6 +36,6 @@
|
|||||||
|
|
||||||
.edit-template-link-letter-body {
|
.edit-template-link-letter-body {
|
||||||
@extend %edit-template-link;
|
@extend %edit-template-link;
|
||||||
top: 38.5%; // aligns to top of subject
|
top: 400px; // aligns to top of subject
|
||||||
left: -5px;
|
left: -5px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ function display_result {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -d venv ]; then
|
if [[ -z "$VIRTUAL_ENV" ]] && [[ -d venv ]]; then
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
fi
|
fi
|
||||||
pycodestyle .
|
pycodestyle .
|
||||||
|
|||||||
Reference in New Issue
Block a user