update styling

This commit is contained in:
Tom (plebeius.eth)
2024-10-25 12:54:15 +02:00
parent 59d0c60aab
commit c8739d588d
2 changed files with 9 additions and 1 deletions

View File

@@ -51,6 +51,10 @@
.reducedHeight {
padding-bottom: 0;
}
.reduceSubmitPageHeight {
margin-bottom: -15px;
}
}
.increasedHeight {

View File

@@ -371,7 +371,11 @@ const Header = () => {
return (
<div className={styles.header}>
<div className={`${styles.container} ${hasFewTabs && styles.reducedHeight} ${hasStickyHeader && styles.increasedHeight}`}>
<div
className={`${styles.container} ${hasFewTabs && styles.reducedHeight} ${isInSubmitView && !isInSubplebbitView && isMobile && styles.reduceSubmitPageHeight} ${
hasStickyHeader && styles.increasedHeight
}`}
>
<div className={styles.logoContainer}>
<Link to={logoLink} className={styles.logoLink}>
{(logoIsAvatar || (!isInSubplebbitView && !isInProfileView && !isInAuthorView)) && (