Skip to content

Commit ca870d8

Browse files
authored
Fixing long titles going under content
1 parent 9d55594 commit ca870d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/homepage/src/components/StickyNavigation.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import media from '../utils/media';
1111
const Navigation = styled.nav`
1212
padding-top: 2rem;
1313
margin-right: 1rem;
14-
width: 300px;
14+
width: 250px;
1515
1616
${props =>
1717
props.fixed &&
@@ -69,7 +69,6 @@ const SecondaryNavigationLink = styled(Link)`
6969
color: rgba(255, 255, 255, 0.7);
7070
font-size: 1rem;
7171
font-weight: 500;
72-
margin-left: 1rem;
7372
7473
&:hover {
7574
color: ${props => props.theme.homepage.white};
@@ -96,7 +95,7 @@ const SubLink = ({
9695
}) => (
9796
<ul style={{ marginTop: '.5rem' }}>
9897
{headings.map(({ value }) => (
99-
<li key={value}>
98+
<li key={value} style={{ marginLeft: '1rem' }}>
10099
<SecondaryNavigationLink to={`docs${slug}#${slugify(value)}`}>
101100
{value}
102101
</SecondaryNavigationLink>

0 commit comments

Comments
 (0)