From 62b3ed440d8d49ffec8a03c3c4a0fa4175e96e45 Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Tue, 31 Jan 2017 18:59:54 +0300 Subject: [PATCH] some mobile view improvements --- codex-editor.css | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/codex-editor.css b/codex-editor.css index 5b700067..7d84197c 100644 --- a/codex-editor.css +++ b/codex-editor.css @@ -150,6 +150,7 @@ background: #f9f9fb; } + /** * Settings button */ @@ -414,7 +415,7 @@ * Mobile viewport styles * ================================= */ -@media all and (max-width: 800px){ +@media all and (max-width: 1000px){ .ce-block{ margin: 0; @@ -422,7 +423,41 @@ padding-right: 5px; } .ce-block__content{ - margin: 0 15px; + margin: 0 25px; + } + + .ce-toolbar { + margin-top: 5px; + } + + .ce-toolbar__actions { + right: -4px; + top: -10px; + font-size: 14px; + } + + .ce-toolbar__settings-btn { + display: block; + margin-bottom: 3px; + } + + .ce-toolbar__plus { + margin-left: 4px; + } + + .ce-toolbar__plus, + .ce-toolbar__tools li { + width: 22px; + height: 22px; + } + + .ce-toolbar__tools li i { + line-height: 22px; + } + + .ce-toolbar__tools { + left: 30px; + font-size: 13px; } } \ No newline at end of file