Browse Source

styling fix

master
Christian Müller 11 years ago
parent
commit
7d5469455a
  1. 4
      src/notehub/css.clj
  2. 2
      src/notehub/views.clj

4
src/notehub/css.clj

@ -188,8 +188,8 @@
[:.central-element central-element] [:.central-element central-element]
(at-media {:screen true :min-width (px 1024)} [:central-element {:width width}]) (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 :max-width (px 1023)} [:.central-element {:width "90%"}])
["article p" { ["article p" {
:font-size (em (* 1.2 text-size-factor)) :font-size (em (* 1.2 text-size-factor))

2
src/notehub/views.clj

@ -58,7 +58,7 @@
(hidden-field :action command) (hidden-field :action command)
(hidden-field :password) (hidden-field :password)
fields fields
(text-area {:class :max-width} :note content) (text-area :note content)
[:fieldset#input-elems {:class css-class} [:fieldset#input-elems {:class css-class}
(text-field {:class "ui-elem" :placeholder (get-message passwd-msg)} (text-field {:class "ui-elem" :placeholder (get-message passwd-msg)}
:plain-password) :plain-password)

Loading…
Cancel
Save