Skip to content

Commit

Permalink
Merge pull request #755 from dmtrKovalenko/feature/docs-react-scripts…
Browse files Browse the repository at this point in the history
…-2.1

Add favicon and fix responsive styles
  • Loading branch information
dmtrKovalenko authored Nov 9, 2018
2 parents 4628f5b + e59ea28 commit eebff3c
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.1.0",
"version": "2.0.0",
"private": true,
"dependencies": {
"@date-io/date-fns": "0.0.2",
Expand Down
Binary file added docs/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/public/favicon.ico
Binary file not shown.
6 changes: 5 additions & 1 deletion docs/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!--
manifest.json provides metadata used when your web app is added to the
Expand All @@ -20,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title> Material-UI Pickers </title>
</head>
<body>
<noscript>
Expand Down
9 changes: 9 additions & 0 deletions docs/src/_shared/SourcablePanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ const styles = theme => ({
theme.palette.type === 'light'
? theme.palette.grey[200]
: theme.palette.grey[900],

[theme.breakpoints.down('sm')]: {
flexDirection: 'column',
alignItems: 'center',

'& > div': {
marginBottom: 32,
},
},
},
sourceBtn: {
position: 'absolute',
Expand Down
8 changes: 4 additions & 4 deletions lib/.size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"build/dist/material-ui-pickers.esm.js": {
"bundled": 113844,
"minified": 66841,
"gzipped": 14393,
"gzipped": 14392,
"treeshaked": {
"rollup": {
"code": 49146,
Expand All @@ -19,8 +19,8 @@
"gzipped": 25269
},
"build/dist/material-ui-pickers.umd.min.js": {
"bundled": 200529,
"minified": 90033,
"gzipped": 23597
"bundled": 200697,
"minified": 90063,
"gzipped": 23618
}
}

0 comments on commit eebff3c

Please sign in to comment.