Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: info tooltip issue on overview page #1190

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Admin/AdminSearchForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class AdminSearchForm extends React.Component {
</div>
<div className="col-12 col-md-3 px-0 pr-0 px-md-2 px-lg-3">
<Form.Group>
<Form.Label className="search-label mb-2">
Filter by start date
<Form.Label className="search-label mb-2 d-flex align-items-center">
<span>Filter by start date</span>
<IconWithTooltip
icon={Info}
altText="More information"
Expand Down
72 changes: 48 additions & 24 deletions src/components/Admin/__snapshots__/Admin.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -900,10 +900,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # cou
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field12"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -1767,10 +1769,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # of
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field37"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -2634,10 +2638,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # of
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field42"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -3501,10 +3507,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders colla
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field47"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -4368,10 +4376,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders full
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field2"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -5235,10 +5245,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders inact
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field32"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -6102,10 +6114,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders inact
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field27"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -6969,10 +6983,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders learn
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field17"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -7836,10 +7852,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders regis
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field7"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -8703,10 +8721,12 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders top a
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field22"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -9619,10 +9639,12 @@ exports[`<Admin /> renders correctly with dashboard insights data renders dashbo
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field57"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down Expand Up @@ -10855,10 +10877,12 @@ exports[`<Admin /> renders correctly with no dashboard insights data 1`] = `
className="pgn__form-group"
>
<label
className="pgn__form-label search-label mb-2"
className="pgn__form-label search-label mb-2 d-flex align-items-center"
htmlFor="form-field52"
>
Filter by start date
<span>
Filter by start date
</span>
<span
alt="More information"
className="pgn__icon ml-1"
Expand Down
Loading