diff options
| author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2023-07-09 16:16:34 -0400 |
|---|---|---|
| committer | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2023-07-09 16:16:34 -0400 |
| commit | 9b52c0798508a003a722c7bcd849c7ed977e3487 (patch) | |
| tree | 622f037f66fb516124e163629d56a1bcb36599c4 /src/client/views/nodes/button | |
| parent | b67380fd889bef0a3e5ca2c3a90473db4d6b8c31 (diff) | |
updated to add tooltips
also removed background colour for stacking docs (ask bob why we are setting arbitrary background colour for stacking docs?)
Diffstat (limited to 'src/client/views/nodes/button')
| -rw-r--r-- | src/client/views/nodes/button/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index e2fe0bcf1..b9f75444f 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -475,7 +475,7 @@ export class FontIconBox extends DocComponent<ButtonProps>() { ); console.log("switchToggle", switchToggle, this.rootDoc.title) return ( - <Toggle toggleType={ToggleType.BUTTON} type={Type.PRIM} toggleStatus={switchToggle} text={buttonText} color={color} icon={this.Icon(color)!} label={this.label}/> + <Toggle tooltip={this.label} toggleType={ToggleType.BUTTON} type={Type.PRIM} toggleStatus={switchToggle} text={buttonText} color={color} icon={this.Icon(color)!} label={this.label}/> ) if (switchToggle) { |
