Fix update-address button styling

This commit is contained in:
Teemu Patja 2017-11-03 08:53:05 +02:00
parent 81c24b5793
commit d265977e03
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 17 additions and 7 deletions

View File

@ -33,10 +33,12 @@
:auto-correct "off"
:spell-check "false"
:max-length 42}]])]
[:button.ui.button (merge {:on-click
#(rf/dispatch [:save-user-address
(:id @user)
@address])}
(when @updating-address
{:class "busy loading"}))
"Update"]]]))))
[:button
(merge {:on-click
#(rf/dispatch [:save-user-address
(:id @user)
@address])
:class (str "ui button small update-address-button"
(when @updating-address
" busy loading"))})
"UPDATE"]]]))))

View File

@ -39,6 +39,14 @@
background-color: #57a7ed!important;
}
.update-address-button {
background-color: #57a7ed!important;
&:hover {
background-color: #57a7ed!important;
}
}
.login-button {
background-color: rgba(255,255,255,0.2)!important;
}