mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Reaction and frontpage button fixes
This commit is contained in:
parent
6dfb8ebfd3
commit
4cc5dbbcf6
7 changed files with 32 additions and 45 deletions
|
@ -3,9 +3,9 @@ import styles from './tooltip.module.css'
|
|||
|
||||
export default function Tooltip({ children, text, opened }) {
|
||||
return (
|
||||
<div className={styles.tooltip}>
|
||||
{text()}
|
||||
<span className={styles.tooltip}>
|
||||
{text && text()}
|
||||
{opened && <span className={styles.tooltiptext}>{children}</span>}
|
||||
</div>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue