Merge pull request #1245 from alphagov/edit-link-positioning

Make position of letter edit links absolute
This commit is contained in:
Chris Hill-Scott
2017-04-25 17:37:27 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -24,7 +24,7 @@ function display_result {
fi
}
if [ -d venv ]; then
if [[ -z "$VIRTUAL_ENV" ]] && [[ -d venv ]]; then
source ./venv/bin/activate
fi
pycodestyle .