From 7fc5e838d105997dbfadbed7f8beac66c0795e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Thu, 25 Dec 2014 21:37:45 +0100 Subject: [PATCH] bugfixes --- src/notehub/views.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notehub/views.clj b/src/notehub/views.clj index a114f4f..65ec414 100644 --- a/src/notehub/views.clj +++ b/src/notehub/views.clj @@ -32,7 +32,7 @@ (reduce (fn [acc e] (if-let [font (style e)] (str acc "|" (sreplace font #" " "+")) - "")) "" ["text-font" "header-font"]))}] + acc)) "" ["text-font" "header-font"]))}] [:style (css/generate style)] (if (= :js js?) (html @@ -51,7 +51,7 @@ (defn- input-form [form-url command fields content passwd-msg] (let [css-class (when (= :publish command) :hidden)] (layout :js {} (get-message :new-page) - [:article#preview ""] + [:article#preview {:style "flex: none"} ""] [:div#dashed-line {:class css-class}] [:div.central-element.helvetica {:style "margin-bottom: 3em"} (form-to {:autocomplete :off} [:post form-url]