fnitu / edu-hospice

Application developed for SIIT Challenge Accepted – CODVIDHACK 2020
https://edu-hospice.herokuapp.com
2 stars 2 forks source link

All buttons in dialog have the same background color #124

Open razvantudorache opened 2 years ago

razvantudorache commented 2 years ago

This behavior is confusing for user when he has to decide between positive vs negative action of a dialog. image

Class "confirmationButton" should not be added based on the presence of handler. Cancel action with some custom handler is not a confirmation action. See: https://github.com/fnitu/edu-hospice/blob/master/src/app/shared/components/confirmation-dialog/confirmation-dialog.component.html#L23

And there is a problem on hover, as well. The buttons are not easy to differentiate, see 2022-05-01_20h28_04