codeforcroatia / popravi.to

This is popular map-based reporting platform FixMyStreet for Croatia named "Popravi.to"
http://popravi.to
Other
9 stars 7 forks source link

popravito: Error message has light red background color on some screens for field errors #143

Closed schlos closed 3 years ago

schlos commented 3 years ago

Describe the bug

Error message is colored in red font and light red background using class="field-error" (Not OK, wrong class is applied).

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Error message is colored in red font and should have white background using class="field-error-message". Expected class for error message is class="field-error-message".

Screenshots

In the code for the part from the screenshot:

Screenshot from 2021-10-10 11-45-45

How it's actually rendered on a screen (red error text with light red background - and we expect white background and different class -> class="field-error-message"):

Screenshot from 2021-10-10 11-46-10

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Field with an error is colored in light red background using class="field-error" (OK) Error message is colored in red font and white background using class="field-error-message" (OK)

schlos commented 3 years ago

Fixed.

Screenshot_20211027-193624_Opera Touch

Screenshot_20211027-193656_Opera Touch