Skip to content

Commit

Permalink
fix: info tooltip issue on overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
jajjibhai008 committed Mar 27, 2024
1 parent ab124ae commit b03fb01
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 26 deletions.
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

0 comments on commit b03fb01

Please sign in to comment.