diff --git a/app/assets/stylesheets/views/template.scss b/app/assets/stylesheets/views/template.scss index a059504e8..8e8c891ad 100644 --- a/app/assets/stylesheets/views/template.scss +++ b/app/assets/stylesheets/views/template.scss @@ -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; } diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 01e109020..584ff8e5a 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -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 .