Commit 40fb947b authored by Bruno Burke's avatar Bruno Burke 😁

multistep: pull points span to the right, add light background for content with result

parent 44add4d8
Pipeline #45490 passed with stages
in 1 minute and 47 seconds
......@@ -223,6 +223,8 @@
:phrase-fn phrase-fn
:on-click-fn #(reset! current-position %)}]
[:div.section
{:class (when result
"has-background-light")}
[:div
[multistep-calculation-answer-form {:answer answer
:exercise-core exercise-core
......@@ -231,7 +233,7 @@
:current-position @current-position
:result result}]]]
(if result
[:span.secondary-content [:b (str (:points result) "P")]]
[:span.is-pulled-right [:b (str (:points result) "P")]]
(when-not (= @current-position :steps)
[transfer-panel {:positions positions
:current-position @current-position
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment