Commit 872158a2 authored by Joachim Schunk's avatar Joachim Schunk

make value-editor use Bulma

parent b3f641cb
......@@ -22,12 +22,13 @@
latex-str (build-latex-string (merge {:with-oom with-oom :with-units with-units}
{:units external-units}
phys-val))]
[:div.row
[:div.col.s11.valign-wrapper
[:span.icon [:i.fas.fa-arrow-right]]
[latex-span latex-str]]
[:div.columns.mb-3
[:div.column.is-11
[:span.icon.mr-3 [:i.fas.fa-arrow-right]]
(if (not-empty latex-str) [latex-span latex-str]
[:span.has-text-grey "Kein gültiger Wert angegeben ..."])]
(when add-fn
[:div.col.s1.valign-wrapper
[:div.column.is-1
[:a.button.is-info
{:on-click add-fn}
[:span.icon [:i.fas.fa-plus]]]])]))
......
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