mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(board buttons): improve layout, increase dimensions of post form on mobile, add refresh buttons
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user