mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix: link type in post form should be next to link field
This commit is contained in:
@@ -91,9 +91,8 @@
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.linkType td {
|
||||
height: 20px;
|
||||
padding-left: 2px;
|
||||
.linkField input[type="text"] {
|
||||
width: 190px !important;
|
||||
}
|
||||
|
||||
.spoilerButton input[type="checkbox"] {
|
||||
|
||||
@@ -202,7 +202,7 @@ const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{t('link')}</td>
|
||||
<td>
|
||||
<td className={styles.linkField}>
|
||||
<input
|
||||
type='text'
|
||||
autoCorrect='off'
|
||||
@@ -214,12 +214,9 @@ const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
|
||||
isInPostView ? setContent.link(e.target.value) : setSubmitStore({ link: e.target.value });
|
||||
}}
|
||||
/>
|
||||
<span className={styles.linkType}> {url && <LinkTypePreviewer link={url} />}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr className={styles.linkType}>
|
||||
<td>{t('file_type')}</td>
|
||||
<td>{url ? <LinkTypePreviewer link={url} /> : t('no_link_provided')}</td>
|
||||
</tr>
|
||||
<tr className={styles.spoilerButton}>
|
||||
<td>{t('options')}</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user