Responsive layout (#593)

* Mobile adaptation beginned

* mobile ready

* Narrow mode supported

* update version

* disable narrow mode testing

* prod build

* rm unnecessary code

* Update src/styles/variables.css

* rm unused code

* add viewport

* disable narrow mode on mobile

* mobile: add bg to current block

* add paddings for highlighted block

* rm changelog
This commit is contained in:
Peter Savchenko 2019-01-12 05:47:19 +03:00 committed by GitHub
commit aab317895b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 176 additions and 34 deletions

View file

@ -6,6 +6,7 @@
<link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
<link href="assets/demo.css" rel="stylesheet">
<script src="assets/json-preview.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<div class="ce-example">
@ -16,7 +17,7 @@
<a href="https://github.com/codex-editor" target="_blank">Plugins</a>
</div>
</div>
<div class="ce-example__content">
<div class="ce-example__content _ce-example__content--small">
<div id="codex-editor"></div>
<div class="ce-example__button" id="saveButton">