Browse Source

Give the lower section a min height to push the footer to the bottom. Closes #2188

pull/2644/head
Gabe Kangas 3 years ago
parent
commit
71ed8ac1ff
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 4
      web/components/ui/Content/Content.tsx

4
web/components/ui/Content/Content.tsx

@ -103,7 +103,7 @@ const DesktopContent = ({ @@ -103,7 +103,7 @@ const DesktopContent = ({
}) => {
const aboutTabContent = <CustomPageContent content={extraPageContent} />;
const followersTabContent = (
<div style={{ minHeight: '16vh' }}>
<div>
<FollowerCollection name={name} onFollowButtonClick={() => setShowFollowModal(true)} />
</div>
);
@ -126,7 +126,7 @@ const DesktopContent = ({ @@ -126,7 +126,7 @@ const DesktopContent = ({
/>
</div>
<div className={styles.lowerSection}>
<div className={styles.lowerSection} style={{ minHeight: '16vh' }}>
{items.length > 1 ? <Tabs defaultActiveKey="0" items={items} /> : aboutTabContent}
</div>
</>

Loading…
Cancel
Save