adjust padding of post info, remove alt from logo img, translate closed alert on mobile

This commit is contained in:
plebeius.eth
2024-04-14 14:42:05 +02:00
parent 95d9f18b2a
commit 150104725d
3 changed files with 4 additions and 4 deletions
+2 -3
View File
@@ -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)}>
+1
View File
@@ -52,6 +52,7 @@
} }
.postDesktop .postInfo { .postDesktop .postInfo {
padding-top: 3px;
width: 100%; width: 100%;
} }
+1 -1
View File
@@ -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 />