Style tweaks
This commit is contained in:
parent
da5c08eeba
commit
602a5cb3e1
|
@ -11,6 +11,10 @@ textarea.thought {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.thought.extended_text {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
#post-button {
|
#post-button {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background: none;
|
background: none;
|
||||||
|
|
|
@ -15,16 +15,18 @@
|
||||||
<body>
|
<body>
|
||||||
<header><a href="/" class="text" style="border: none">Thoughts</a> <span class="text">Post</span></header>
|
<header><a href="/" class="text" style="border: none">Thoughts</a> <span class="text">Post</span></header>
|
||||||
|
|
||||||
<form action="{% url 'post'%}" method="post">
|
<section class=".main-wrap">
|
||||||
|
<form action="{% url 'post'%}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<textarea name="text" id="text" class="thought"></textarea>
|
<textarea name="text" id="text" class="thought" rows="3"></textarea>
|
||||||
<hr class="thought-end">
|
<hr class="thought-end">
|
||||||
<textarea name="extended_text" id="extended_text" class="thought"></textarea>
|
<textarea name="extended_text" id="extended_text" class="thought" rows="4"></textarea>
|
||||||
<hr class="thought-end">
|
<hr class="thought-end">
|
||||||
<input type="hidden" name="timezone_offset" id="timezone_offset">
|
<input type="hidden" name="timezone_offset" id="timezone_offset">
|
||||||
|
|
||||||
<input type="submit" id="post-button" value="Submit">
|
<input type="submit" id="post-button" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const textEl = document.getElementById("text");
|
const textEl = document.getElementById("text");
|
||||||
|
|
Loading…
Reference in New Issue