Skip to content

Commit 151ecc9

Browse files
author
Brenton Ashworth
committed
Set margin to -500px in code so that the cloud will appear in design view.
1 parent 9a297ff commit 151ecc9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

public/css/one.css

-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ h2 {
321321
margin: 0 auto;
322322
width: 494px;
323323
height: 344px;
324-
margin-top: -500px;
325324
}
326325

327326
#greeting h2, #greeting h3

src/app/cljs/one/sample/animation.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
(destroy-children! content)
2626
(set-html! content form-html)
2727
(append! content greeting-html)
28-
(set-styles! (xpath cloud) {:opacity "0" :display "none"})
28+
(set-styles! (xpath cloud) {:opacity "0" :display "none" :margin-top "-500px"})
2929
(set-styles! (by-id "greet-button") {:opacity "0.2" :disabled true})
3030
(play form form-in {:after #(.focus (by-id "name-input") ())})))
3131

0 commit comments

Comments
 (0)