From 9acdf8c013e5ed6e0ed31e78f5cf1cf002453648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Tue, 3 Nov 2015 15:45:19 +0100 Subject: [PATCH] styling fixes for mobile --- resources/edit.html | 4 ++-- resources/public/style.css | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/edit.html b/resources/edit.html index 8e77417..a3a45ef 100644 --- a/resources/edit.html +++ b/resources/edit.html @@ -1,5 +1,5 @@ - + NoteHub — New Page @@ -11,7 +11,7 @@ - +
diff --git a/resources/public/style.css b/resources/public/style.css index a9a8d5d..a6422df 100644 --- a/resources/public/style.css +++ b/resources/public/style.css @@ -11,7 +11,6 @@ html, body { margin: 0; color: #333; background: #fff; - height: 100%; } #hero { @@ -140,8 +139,6 @@ h6 { } #dashed-line { - margin-bottom: 3em; - margin-top: 3em; border-bottom: 1px dashed#888; } @@ -231,12 +228,23 @@ td { article, .central-element { width: 800px; } + #dashed-line { + margin-bottom: 3em; + margin-top: 3em; + } } @media screen and (max-width: 1023px) { article, .central-element { width: 90%; } + #dashed-line { + margin-bottom: 0.5em; + margin-top: 0.5em; + } + #previewPane { + display: none; + } } #editContainer {