summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-11-23 11:38:33 -0600
committerluxagraf <sng@luxagraf.net>2024-11-23 11:38:33 -0600
commit5191f00304154f7cc060e28b28c5800a9030a160 (patch)
tree746223887283c0dea6680fe459fa3bc5e4c1b28b
parentea4bb7eacd259a15b9e9d799c1d3a31506baaa1b (diff)
jrnl: fixed signup form padding
-rw-r--r--app/lttr/templates/lttr/subscribe.html4
-rw-r--r--app/posts/templates/posts/jrnl_list.html3
2 files changed, 3 insertions, 4 deletions
diff --git a/app/lttr/templates/lttr/subscribe.html b/app/lttr/templates/lttr/subscribe.html
index e73ca73..8ddb03b 100644
--- a/app/lttr/templates/lttr/subscribe.html
+++ b/app/lttr/templates/lttr/subscribe.html
@@ -8,8 +8,8 @@
href="/media/screenv10.css"
media="screen">
</head>
-<body>
- <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe">{% csrf_token %}
+<body style="margin-left:0">
+ <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe" style="margin: 1.25rem 0 1rem;">{% csrf_token %}
{% for field in form %}
<fieldset>
{{field.label_tag}}
diff --git a/app/posts/templates/posts/jrnl_list.html b/app/posts/templates/posts/jrnl_list.html
index 8e3c4df..93d64ad 100644
--- a/app/posts/templates/posts/jrnl_list.html
+++ b/app/posts/templates/posts/jrnl_list.html
@@ -47,8 +47,7 @@
<script>
function resizeIframe(obj) {
- console.log((obj.contentWindow.document.body.scrollHeight - 50) + 'px');
- obj.style.height = (obj.contentWindow.document.body.scrollHeight - 50) + 'px';
+ obj.style.height = (obj.contentWindow.document.body.scrollHeight - 75) + 'px';
}
</script>
{% endblock %}