diff --git a/src/components/HeaderBarebone/index.tsx b/src/components/HeaderBarebone/index.tsx index c979fd0..05d7fe8 100644 --- a/src/components/HeaderBarebone/index.tsx +++ b/src/components/HeaderBarebone/index.tsx @@ -88,11 +88,7 @@ export const HeaderBarebone = (props: IHeaderBareboneProps) => { - {isBoxed && ( - {props.title} - )} - - {!isBoxed && {props.title}} + {props.title} ) diff --git a/src/components/HeaderBarebone/styles.tsx b/src/components/HeaderBarebone/styles.tsx index c55c69e..f2ec57a 100644 --- a/src/components/HeaderBarebone/styles.tsx +++ b/src/components/HeaderBarebone/styles.tsx @@ -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;