Commit ec435fd2 authored by Joachim Schunk's avatar Joachim Schunk

make info smaller and more separated

parent b8b95d59
......@@ -126,16 +126,13 @@
(defn component-error [error]
[:div.container
[:div.columns.has-background-danger
[:div.column.is-one-fifth
[:img.secondary-content {:src the-scream}]
]
[:div.column.is-four-fifth
[:span.icon [:i.fas.fa-exclamation-triangle]]
[:span "SCHWERWIEGENDER FEHLER"]
[:span.icon [:i.fas.fa-exclamation-triangle]][:hr ]
[:span (str error)]
]
]])
[:div.column.is-one-fifth
[:img.secondary-content {:src the-scream}]]
[:div.column.is-four-fifth
[:span.icon [:i.fas.fa-exclamation-triangle]]
[:span "SCHWERWIEGENDER FEHLER"]
[:span.icon [:i.fas.fa-exclamation-triangle]] [:hr]
[:span (str error)]]]])
(defn styles [style-urls]
[:<>
......@@ -146,8 +143,8 @@
(defn info-line [{:keys [text]}]
[:div.column.is-full
[:div.columns.is-gapless
[:div.column.is-narrow.mr-1
[:span.icon [:i.far.fa-question-circle]]]
[:div.column
[:div.columns.is-vcentered.is-gapless
[:div.column.is-narrow.mr-2
[:span.icon.is-small [:i.far.fa-question-circle]]]
[:div.column.is-size-7
text]]])
......@@ -197,7 +197,7 @@
[:div.buttons.has-addons
[:a.button {:disabled true} [:span.icon [:i.fas.fa-plus]]]
[:a.button.is-static "Keine gültige Einheit eingegeben"]]])
[:div.column.is-full.mt-5]
[:div.column.is-full.mt-6]
[info-line {:text "Mehrteilige Einheiten aus einzelnen Einheiten zusammensetzen."}]
[info-line {:text "Brüche durch Einheiten mit negativem Exponenten erzeugen."}]
[info-line {:text "Exponenten '1' und '-1' werden für Einheiten automatisch ergänzt"}]
......
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