Skip to content

Commit e9b20d4

Browse files
committed
fix: tweak styling
1 parent ad73900 commit e9b20d4

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

example/__fixtures__/component/Button.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import PropTypes from 'prop-types';
77
* Buttons communicate the action that will occur when the user touches them
88
*
99
* <div class="screenshots">
10-
* <img src="screenshots/button-raised.png" />
11-
* <img src="screenshots/button-primary.png" />
12-
* <img src="screenshots/button-custom.png" />
10+
* <img src="screenshots/button-raised.png" />
11+
* <img src="screenshots/button-primary.png" />
12+
* <img src="screenshots/button-custom.png" />
1313
* </div>
1414
*
15-
* ### Usage
15+
* ## Usage
1616
* ```js
1717
* const MyComponent = () => (
1818
* <Button raised onPress={() => console.log('Pressed')}>

src/templates/Documentation.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const container = css`
1414

1515
const title = css`
1616
font-size: 36px;
17-
margin: 0 0 8px -24px;
17+
margin: 0 0 8px 0;
1818
1919
& > code {
2020
background-color: transparent;
@@ -123,9 +123,7 @@ export default function Documentation({ name, info }: any) {
123123

124124
return (
125125
<div className={container}>
126-
<h1 className={title}>
127-
<code>{`<${name} />`}</code>
128-
</h1>
126+
<h1 className={title}>{name}</h1>
129127
<Markdown
130128
className={markdown}
131129
source={description}

0 commit comments

Comments
 (0)