diff options
author | luxagraf <sng@luxagraf.net> | 2024-11-23 11:44:27 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-11-23 11:44:27 -0600 |
commit | 495cd80fabd4421e195180c691bc1c2110ba00ca (patch) | |
tree | e3e7b6edd4a2317a597031bfb25f26fdcece6aef /app/posts | |
parent | 47fea3dc988decdef35042e0fb0b04c79487624e (diff) |
essays: fixing sign up form for essays
Diffstat (limited to 'app/posts')
-rw-r--r-- | app/posts/templates/posts/essay_list.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/posts/templates/posts/essay_list.html b/app/posts/templates/posts/essay_list.html index 361ba6f..38717f1 100644 --- a/app/posts/templates/posts/essay_list.html +++ b/app/posts/templates/posts/essay_list.html @@ -33,3 +33,12 @@ </ul> </main> {%endblock%} + +{% block js %} + +<script> + function resizeIframe(obj) { + obj.style.height = (obj.contentWindow.document.body.scrollHeight - 75) + 'px'; + } +</script> +{% endblock %} |