Skip to content

Commit

Permalink
DATAP-1584 Fix alignment and positioning of error icon for complaint …
Browse files Browse the repository at this point in the history
…date to match other date filters (#555)

* Fix alignment and positioning of error icon for complaint date to match other date filters

* moved key to wrapper div

---------

Co-authored-by: cdhenley219 <[email protected]>
  • Loading branch information
cdmh219 and cdhenley219 authored Oct 30, 2024
1 parent 4e9f629 commit 9bfbe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Filters/CompanyReceivedFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ export const CompanyReceivedFilter = () => {
<div className="a-form-alert a-form-alert--error" role="alert">
{errors.map((message, key) => (
<div key={key}>
{message}
<span aria-hidden="true">
{getIcon('delete-round', 'cf-icon-delete-round')}
</span>
<div className="a-form-alert__text">{message}</div>
</div>
))}
</div>
Expand Down

0 comments on commit 9bfbe7e

Please sign in to comment.