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 />
|
||||
|
||||
<StickyContainer>
|
||||
{isBoxed && (
|
||||
<StickyBoxedTitle above={props.above}>{props.title}</StickyBoxedTitle>
|
||||
)}
|
||||
|
||||
{!isBoxed && <SC.SingleTitle>{props.title}</SC.SingleTitle>}
|
||||
<StickyBoxedTitle above={props.above}>{props.title}</StickyBoxedTitle>
|
||||
</StickyContainer>
|
||||
</SC.HeaderWrapperSticky>
|
||||
)
|
||||
|
||||
@@ -212,7 +212,10 @@ export const StickyTitle = styled.h1`
|
||||
${title};
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
margin-bottom: 8px;
|
||||
|
||||
&.has-content-above {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
&.has-content-below {
|
||||
margin-bottom: 16px;
|
||||
|
||||
Reference in New Issue
Block a user