feat(board buttons): improve layout, increase dimensions of post form on mobile, add refresh buttons

This commit is contained in:
Tom (plebeius.eth)
2024-05-31 15:16:21 +02:00
parent 1aff0d3ada
commit bc74a9ff77
6 changed files with 83 additions and 59 deletions
+18 -6
View File
@@ -15,12 +15,7 @@
.postFormMobile {
text-align: center;
padding-top: 9px;
padding-bottom: 0.5em;
}
.postFormMobile .showFormButton {
margin-bottom: 5px;
margin-top: -2px;
}
.closed {
@@ -97,6 +92,23 @@
.postFormDesktop {
display: none;
}
.postFormTable {
padding-top: 5px;
max-width: 80%;
}
.postFormTable td input {
height: 20px;
}
.postFormTable td textarea {
height: 80px;
}
.postFormTable button {
padding: 4px 8px;
}
}
@media (min-width: 640px) {
+1
View File
@@ -293,6 +293,7 @@ const PostForm = () => {
{showForm ? t('close_post_form') : isInPostView ? t('post_a_reply') : t('start_new_thread')}
</button>
{showForm && <PostFormTable closeForm={() => setShowForm(false)} />}
<hr />
</>
)}
</div>