-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We already have a list of label definitions but don't display them. I think showing the definitions could clear up a bit of ambiguity (does "hardware" mean "runs on hardware", or "for designing hardware"?) This PR uses the carbon tooltip component to display these on the website. ![Screenshot 2024-02-01 at 11 22 19](https://github.com/Qiskit/ecosystem/assets/36071638/ea1e0fdd-def8-4660-a279-586ba6f09b3a) --------- Co-authored-by: Eric Arellano <[email protected]>
- Loading branch information
1 parent
384c626
commit 7bb16e1
Showing
5 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
<cds-tag type="{{color}}" title="{{title}}" size="md">{{text}}</cds-tag> | ||
<cds-tooltip align="{{ alignment }}"> | ||
<div class="sb-tooltip-trigger" aria-labelledby="content"> | ||
<cds-tag type="{{color}}" title="" size="md">{{text}}</cds-tag> | ||
</div> | ||
<cds-tooltip-content id="content"> | ||
{{ tooltip }} | ||
</cds-tooltip-content> | ||
</cds-tooltip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters