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" :auto-correct "off"
:spell-check "false" :spell-check "false"
:max-length 42}]])] :max-length 42}]])]
[:button.ui.button (merge {:on-click [:button
#(rf/dispatch [:save-user-address (merge {:on-click
(:id @user) #(rf/dispatch [:save-user-address
@address])} (:id @user)
(when @updating-address @address])
{:class "busy loading"})) :class (str "ui button small update-address-button"
"Update"]]])))) (when @updating-address
" busy loading"))})
"UPDATE"]]]))))

View File

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