mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
adjust padding of post info, remove alt from logo img, translate closed alert on mobile
This commit is contained in:
@@ -7,7 +7,6 @@ import styles from './post-form.module.css';
|
|||||||
|
|
||||||
const PostForm = () => {
|
const PostForm = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const params = useParams();
|
const params = useParams();
|
||||||
const isInPostPage = isPostPageView(location.pathname, params);
|
const isInPostPage = isPostPageView(location.pathname, params);
|
||||||
@@ -44,9 +43,9 @@ const PostForm = () => {
|
|||||||
<div className={styles.postFormButtonMobile}>
|
<div className={styles.postFormButtonMobile}>
|
||||||
{isThreadClosed ? (
|
{isThreadClosed ? (
|
||||||
<div className={styles.closed}>
|
<div className={styles.closed}>
|
||||||
Thread closed.
|
{t('thread_closed')}
|
||||||
<br />
|
<br />
|
||||||
You may not reply at this time.
|
{t('may_not_reply')}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<button className='button' onClick={() => setShowForm(true)}>
|
<button className='button' onClick={() => setShowForm(true)}>
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.postDesktop .postInfo {
|
.postDesktop .postInfo {
|
||||||
|
padding-top: 3px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ const Home = ({ subplebbits }: HomeProps) => {
|
|||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
<Link to='/'>
|
<Link to='/'>
|
||||||
<div className={styles.logo}>
|
<div className={styles.logo}>
|
||||||
<img alt='plebchan' src='/assets/logo/logo-transparent.png' />
|
<img alt='' src='/assets/logo/logo-transparent.png' />
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
<SearchBar />
|
<SearchBar />
|
||||||
|
|||||||
Reference in New Issue
Block a user