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)