Skip to content

Commit

Permalink
Wider margins for create invoice tab contents
Browse files Browse the repository at this point in the history
  • Loading branch information
madis committed Dec 11, 2024
1 parent c31aa2e commit 884af20
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ui/src/ethlance/ui/page/job_contract.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@


(defn c-information
[text]
[& text-or-children]
[:div.feedback-input-container {:style {:opacity "50%"}}
[:div {:style {:height "10em" :display "flex" :align-items "center" :justify-content "center"}}
text]])
(into
[:div {:style {:height "10em" :display "flex" :align-items "center" :justify-content "center"}}]
text-or-children)])


(defn common-chat-fields
Expand Down Expand Up @@ -499,7 +500,9 @@
(when job-active? {:label "Create Invoice"})
(when job-active?
[:div.message-input-container
[:div.info-message "Click here to create new invoice for this job"]
[:div {:style {:height "10em" :display "flex" :align-items "center" :justify-content "center"}}
[:div.message "Click here to create new invoice for this job"]]
[:div {:style {:flex-basis "100%" :height 0}}]
[c-button {:color :primary
:on-click (util.navigation/create-handler {:route :route.invoice/new})}
[c-button-label "Go to create invoice"]]])
Expand Down

0 comments on commit 884af20

Please sign in to comment.