mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
fix: correctly show header on generic content pages
This commit is contained in:
@@ -88,11 +88,7 @@ export const HeaderBarebone = (props: IHeaderBareboneProps) => {
|
|||||||
<SC.Background />
|
<SC.Background />
|
||||||
|
|
||||||
<StickyContainer>
|
<StickyContainer>
|
||||||
{isBoxed && (
|
<StickyBoxedTitle above={props.above}>{props.title}</StickyBoxedTitle>
|
||||||
<StickyBoxedTitle above={props.above}>{props.title}</StickyBoxedTitle>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{!isBoxed && <SC.SingleTitle>{props.title}</SC.SingleTitle>}
|
|
||||||
</StickyContainer>
|
</StickyContainer>
|
||||||
</SC.HeaderWrapperSticky>
|
</SC.HeaderWrapperSticky>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -212,7 +212,10 @@ export const StickyTitle = styled.h1`
|
|||||||
${title};
|
${title};
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: 8px;
|
|
||||||
|
&.has-content-above {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
&.has-content-below {
|
&.has-content-below {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|||||||
Reference in New Issue
Block a user