generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1230 from hackforla/1223-discoverability-tooltips
1223 discoverability tooltips
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
client/src/components/ProjectWizard/WizardPages/DiscoverTooltips.js
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from "react"; | ||
import { createUseStyles } from "react-jss"; | ||
|
||
const useStyles = createUseStyles({ | ||
container: { | ||
width: "250px", | ||
background: "#e9e9f1", | ||
padding: "1em", | ||
paddingBottom: "0", | ||
position: "absolute", | ||
left: "23.5px", | ||
textAlign: "initial" | ||
}, | ||
title: { | ||
flexGrow: "1", | ||
flexBasis: "50%", | ||
flexShrink: "1", | ||
fontFamily: "Calibri Bold" | ||
} | ||
}); | ||
|
||
const DiscoverTooltips = () => { | ||
const classes = useStyles(); | ||
return ( | ||
<div className={classes.container}> | ||
<p className={classes.title}> | ||
Try hovering over a term you want more information on. If the words | ||
become underlined and bold, you can click for a description. Hovering | ||
over a green question mark will also provide more information. | ||
</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default DiscoverTooltips; |
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