diff options
author | geireann <geireann.lindfield@gmail.com> | 2021-08-19 21:56:57 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2021-08-19 21:56:57 -0400 |
commit | 077e4ba816afd35bba4622e53d4dca62b74bf292 (patch) | |
tree | 3a14d8a2cd7dc59e4ece18c8657959a1ecede729 /src/client/views/nodes/button/FontIconBox.tsx | |
parent | d5841cda5aa838cf02b26a7ffbcc2b1713a66f36 (diff) |
menu UI updates
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.tsx')
-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 9a54579dc..84ad03fa2 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -169,7 +169,7 @@ export class FontIconBox extends DocComponent<ButtonProps, FontIconDocument>(Fon return ( <div className={`menuButton ${this.type} ${active}`} - style={{ display: show ? undefined : "none", backgroundColor: this.rootDoc.dropDownOpen ? Colors.LIGHT_BLUE : backgroundColor, color: this.rootDoc.dropDownOpen ? Colors.BLACK : color, borderBottomLeftRadius: this.dropdown ? 0 : undefined }} + style={{ display: show ? undefined : "none", backgroundColor: this.rootDoc.dropDownOpen ? Colors.MEDIUM_BLUE : backgroundColor, color: color, borderBottomLeftRadius: this.dropdown ? 0 : undefined }} onClick={dropdown ? () => this.rootDoc.dropDownOpen = !this.rootDoc.dropDownOpen : undefined}> <div className="menuButton-dropdown-header"> {text && text[0].toUpperCase() + text.slice(1)} |