Fix update-address button styling
This commit is contained in:
parent
81c24b5793
commit
d265977e03
|
@ -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"]]]))))
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue