Skip to content

Commit

Permalink
fix(docs-site): minor fixes (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke committed May 31, 2019
1 parent 0484c0e commit 9ecf3aa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion documentation-site/components/header-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const Navigation = ({toggleSidebar, toggleTheme}: PropsT) => {
overrides={{
List: {
style: {
width: '85px',
width: '84px',
},
},
}}
Expand Down
8 changes: 3 additions & 5 deletions documentation-site/components/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,20 @@ const PlainInput = styled<{$inputVisible: boolean}>(
({$inputVisible, $theme}) =>
({
display: $inputVisible ? 'block' : 'none',
borderWidth: '1px',
borderColor: $theme.colors.mono200,
borderWidth: '2px',
borderColor: $theme.colors.inputEnhancerFill,
borderStyle: 'solid',
paddingLeft: '42px',
color: $theme.colors.foreground,
backgroundColor: $theme.colors.inputEnhancerFill,
paddingRight: '12px',
paddingTop: '9px',
paddingBottom: '9px',
fontSize: '14px',
width: $inputVisible ? '62vw' : '250px',
backgroundColor: 'transparent',
lineHeight: '20px',
outline: 'none',
'-webkit-appearance': 'none',
':focus': {
backgroundColor: $theme.colors.background,
borderColor: $theme.colors.primary,
},
[HEADER_BREAKPOINT]: {
Expand Down
2 changes: 1 addition & 1 deletion documentation-site/pages/components/link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default Layout;

A simple styled anchor element.

<Example title="basic" path="examples/link/basic.js">
<Example title="Basic usage" path="examples/link/basic.js">
<Basic />
</Example>

Expand Down
2 changes: 1 addition & 1 deletion documentation-site/static/examples/button/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default () => (
<StatefulMenu
items={ITEMS}
onItemSelect={() => close()}
overrides={{List: {style: {height: '150px', width: '150px'}}}}
overrides={{List: {style: {height: '150px', width: '138px'}}}}
/>
)}
>
Expand Down
3 changes: 0 additions & 3 deletions documentation-site/static/examples/header-navigation/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export default () => (
<NavigationItem>
<Link href="#">Tab Link Two</Link>
</NavigationItem>
<NavigationItem>
<Link href="#">Tab Link Three</Link>
</NavigationItem>
</NavigationList>
<NavigationList $align={ALIGN.right}>
<NavigationItem>
Expand Down

0 comments on commit 9ecf3aa

Please sign in to comment.