Skip to content

Commit

Permalink
feat(certificates): tooltip display to bottom end (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw authored Sep 18, 2023
1 parent 3e24396 commit 2697ec8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/overlays/UpdateCertificate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,15 @@ export default function UpdateCertificate({ id }: { id: string }) {
display:
certificatetypesArr.length === 1 ? 'block' : 'none',
}}
tooltipPlacement="bottom-start"
arrowStyles={{
left: '181px !important',
}}
tooltipPlacement="bottom-end"
tooltipText={t(
'content.certificates.updateCertificate.noOptionsMessage'
)}
children={
<div>
<span>
<SelectList
error={!selectedCertificate}
helperText={t(
Expand All @@ -258,7 +261,7 @@ export default function UpdateCertificate({ id }: { id: string }) {
keyTitle={'title'}
disabled={certificatetypesArr.length === 1}
/>
</div>
</span>
}
/>
)}
Expand Down

0 comments on commit 2697ec8

Please sign in to comment.