civicrm / org.civicrm.shoreditch

Other
45 stars 59 forks source link

CPS-481: Fix Button border #499

Closed deb1990 closed 3 years ago

deb1990 commented 3 years ago

Overview

The Cancel Button border was wrong when inside Bootstrap. This PR fixes it.

Before

2021-03-22 at 2 10 PM

After

2021-03-22 at 2 09 PM

Technical details

The button color was applied in https://github.com/civicrm/org.civicrm.shoreditch/commit/e948807afe6732c947a6a1b7456ecd59c09bad52#diff-d70c310903cd4caf4066146aa6a16294bb25f009a7f6a7f7b85d63c494525f3dR12. But there is no explanation of why this color was applied and $gray-dark is the correct color.

We never saw this before, because before CiviCRM 5.35 changes, there was an extra input element for buttons, and that input element had the correct colors.

Backstop Report: https://github.com/compucorp/backstopjs-config/actions/runs/675356335