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 { t } = useTranslation();
|
||||
|
||||
const location = useLocation();
|
||||
const params = useParams();
|
||||
const isInPostPage = isPostPageView(location.pathname, params);
|
||||
@@ -44,9 +43,9 @@ const PostForm = () => {
|
||||
<div className={styles.postFormButtonMobile}>
|
||||
{isThreadClosed ? (
|
||||
<div className={styles.closed}>
|
||||
Thread closed.
|
||||
{t('thread_closed')}
|
||||
<br />
|
||||
You may not reply at this time.
|
||||
{t('may_not_reply')}
|
||||
</div>
|
||||
) : (
|
||||
<button className='button' onClick={() => setShowForm(true)}>
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
}
|
||||
|
||||
.postDesktop .postInfo {
|
||||
padding-top: 3px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ const Home = ({ subplebbits }: HomeProps) => {
|
||||
<div className={styles.content}>
|
||||
<Link to='/'>
|
||||
<div className={styles.logo}>
|
||||
<img alt='plebchan' src='/assets/logo/logo-transparent.png' />
|
||||
<img alt='' src='/assets/logo/logo-transparent.png' />
|
||||
</div>
|
||||
</Link>
|
||||
<SearchBar />
|
||||
|
||||
Reference in New Issue
Block a user