Skip to content
Browse files

Set margin to -500px in code so that the cloud will appear in design …

…view.
  • Loading branch information...
1 parent 9a297ff commit 151ecc952b6107a2f8d029047e19656573e8d950 @brentonashworth brentonashworth committed Jan 10, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 public/css/one.css
  2. +1 −1 src/app/cljs/one/sample/animation.cljs
View
1 public/css/one.css
@@ -321,7 +321,6 @@ h2 {
margin: 0 auto;
width: 494px;
height: 344px;
- margin-top: -500px;
}
#greeting h2, #greeting h3
View
2 src/app/cljs/one/sample/animation.cljs
@@ -25,7 +25,7 @@
(destroy-children! content)
(set-html! content form-html)
(append! content greeting-html)
- (set-styles! (xpath cloud) {:opacity "0" :display "none"})
+ (set-styles! (xpath cloud) {:opacity "0" :display "none" :margin-top "-500px"})
(set-styles! (by-id "greet-button") {:opacity "0.2" :disabled true})
(play form form-in {:after #(.focus (by-id "name-input") ())})))

0 comments on commit 151ecc9

Please sign in to comment.
Something went wrong with that request. Please try again.