Fix mobile layout
Dan Abramov committed
May 3, 2017 at 15:39 UTC
2b7012ffb01dd96a6096e77408bf35e8b9b40d25
1 file changed
+2
-2
docs/docs/optimizing-performance.md
+2
-2
@@ -15,11 +15,11 @@ By default, React includes many helpful warnings. These warnings are very useful
15
16
If you aren't sure whether your build process is set up correctly, you can check it by installing [React Developer Tools for Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi). If you visit a site with React in production mode, the icon will have a dark background:
17
18
-<img src="/react/img/docs/devtools-prod.png" width="600" alt="React DevTools on a website with production version of React">
18
+<img src="/react/img/docs/devtools-prod.png" style="max-width:100%" alt="React DevTools on a website with production version of React">
19
20
If you visit a site with React in development mode, the icon will have a red background:
21
22
-<img src="/react/img/docs/devtools-dev.png" width="600" alt="React DevTools on a website with development version of React">
22
+<img src="/react/img/docs/devtools-dev.png" style="max-width:100%" alt="React DevTools on a website with development version of React">
23
24
It is expected that you use the development mode when working on your app, and the production mode when deploying your app to the users.
25