mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 23:55:49 +01:00
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:
parent
63a82d3424
commit
aab317895b
13 changed files with 176 additions and 34 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue