Skip to content

Commit b4da77a

Browse files
committed
Merge pull request #223 from zpao/website-improvements
Website improvements
2 parents 5e7df58 + 35fa5aa commit b4da77a

File tree

11 files changed

+10
-4
lines changed

11 files changed

+10
-4
lines changed

website/core/HeaderLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var React = require('React');
1313

1414
var HeaderLinks = React.createClass({
1515
linksInternal: [
16-
{section: 'docs', href: '/react-native/docs/getting-started.html#content', text: 'Docs'},
16+
{section: 'docs', href: '/react-native/docs/getting-started.html', text: 'Docs'},
1717
{section: 'support', href: '/react-native/support.html', text: 'Support'},
1818
],
1919
linksExternal: [

website/src/react-native/css/react-native.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ h4 small {
8282
font-size: 14px;
8383
}
8484

85+
img {
86+
max-width: 100%;
87+
height: auto;
88+
}
89+
8590
ul, ol {
8691
margin: 0 0 10px 25px;
8792
padding: 0;
@@ -129,6 +134,7 @@ html * {
129134
padding: 5px 10px;
130135
margin-left: 20px;
131136
background-color: rgba(5, 165, 209, 0.05);
137+
overflow: auto;
132138
}
133139

134140
.prism + .prism {
@@ -229,7 +235,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
229235
color: #fafafa;
230236
position: fixed;
231237
top: 0;
232-
height: 50px;
238+
min-height: 50px;
233239
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
234240
width: 100%;
235241
z-index: 100;
-20.3 KB
Loading
-13.4 KB
Loading
-12.9 KB
Loading
-12.6 KB
Loading
-271 KB
Loading
-1.06 KB
Loading
-1.15 KB
Loading
-1.75 KB
Loading

0 commit comments

Comments
 (0)