diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-24 01:46:42 -0400 | 
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-24 01:46:42 -0400 | 
| commit | 9e37056e3b1e5412e2eca9020841a56503f70d32 (patch) | |
| tree | 4e93b0cfc61b432ba97f3a4f96f70d991535ad49 /src/client/views/AntimodeMenu.tsx | |
| parent | 1e582397fe3d659c547218dbf0e146ac9bb781ff (diff) | |
changed richTextMenu to dock at top of window.  fixed ColorBox to set foreground color of selected text.
Diffstat (limited to 'src/client/views/AntimodeMenu.tsx')
| -rw-r--r-- | src/client/views/AntimodeMenu.tsx | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/AntimodeMenu.tsx b/src/client/views/AntimodeMenu.tsx index 2d26afcf6..3e4d20fea 100644 --- a/src/client/views/AntimodeMenu.tsx +++ b/src/client/views/AntimodeMenu.tsx @@ -147,7 +147,11 @@ export default abstract class AntimodeMenu extends React.Component {      protected getElementWithRows(rows: JSX.Element[], numRows: number, hasDragger: boolean = true) {          return (              <div className="antimodeMenu-cont with-rows" onPointerLeave={this.pointerLeave} onPointerEnter={this.pointerEntered} ref={this._mainCont} onContextMenu={this.handleContextMenu} -                style={{ left: this._left, top: this._top, opacity: this._opacity, transitionProperty: this._transitionProperty, transitionDuration: this._transitionDuration, transitionDelay: this._transitionDelay, height: "auto" }}> +                style={{ +                    left: this._left, top: this._top, opacity: this._opacity, transitionProperty: this._transitionProperty, +                    transitionDuration: this._transitionDuration, transitionDelay: this._transitionDelay, height: "auto", +                    flexDirection: this.Pinned ? "row" : undefined, position: this.Pinned ? "unset" : undefined +                }}>                  {hasDragger ? <div className="antimodeMenu-dragger" onPointerDown={this.dragStart} style={{ width: "20px" }} /> : (null)}                  {rows}              </div>  | 
