From 7d5469455abcb69757f110b84f7b367b36403765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Thu, 25 Dec 2014 01:10:39 +0100 Subject: [PATCH] styling fix --- src/notehub/css.clj | 4 ++-- src/notehub/views.clj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notehub/css.clj b/src/notehub/css.clj index 39e0dee..31b2535 100644 --- a/src/notehub/css.clj +++ b/src/notehub/css.clj @@ -188,8 +188,8 @@ [:.central-element central-element] - (at-media {:screen true :min-width (px 1024)} [:central-element {:width width}]) - (at-media {:screen true :max-width (px 1023)} [:central-element {:width "90%"}]) + (at-media {:screen true :min-width (px 1024)} [:.central-element {:width width}]) + (at-media {:screen true :max-width (px 1023)} [:.central-element {:width "90%"}]) ["article p" { :font-size (em (* 1.2 text-size-factor)) diff --git a/src/notehub/views.clj b/src/notehub/views.clj index 7e1b8f2..74252a6 100644 --- a/src/notehub/views.clj +++ b/src/notehub/views.clj @@ -58,7 +58,7 @@ (hidden-field :action command) (hidden-field :password) fields - (text-area {:class :max-width} :note content) + (text-area :note content) [:fieldset#input-elems {:class css-class} (text-field {:class "ui-elem" :placeholder (get-message passwd-msg)} :plain-password)