forked from nicolasperez19/mic-master-flex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tooltips over edit, add, delete buttons
Fixes nicolasperez19#8 Add styled tooltips for edit, add, and delete buttons in `src/components/MicMasterFlex.tsx`. * Wrap the edit, add, and delete buttons in a `div` with class `relative group`. * Add a `div` with class `absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 w-max bg-black text-white text-xs rounded py-1 px-2 opacity-0 group-hover:opacity-100 transition-opacity` for each button to display the tooltip text. * Retain the `title` attribute for basic tooltips. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/nicolasperez19/mic-master-flex/issues/8?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
1 changed file
with
37 additions
and
22 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