diff options
author | bobzel <zzzman@gmail.com> | 2020-10-02 19:22:53 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-02 19:22:53 -0400 |
commit | 08d87df9cda89b4c81a27377461fbe674eeb76da (patch) | |
tree | cac7b37b7acb5eafc9abd5572616d00dbdbc7828 /src | |
parent | 3b9ca92421f54514f30bcb828e81172e6a9e6658 (diff) |
fixed disappearance of undo/redo button area
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/MainView.scss | 3 | ||||
-rw-r--r-- | src/client/views/MainView.tsx | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/client/views/MainView.scss b/src/client/views/MainView.scss index f64449616..5efe9adad 100644 --- a/src/client/views/MainView.scss +++ b/src/client/views/MainView.scss @@ -319,6 +319,9 @@ .mainView-libraryFlyout-out { transition: width .25s; box-shadow: rgb(156, 147, 150) 0.2vw 0.2vw 0.2vw; + .mainView-docButtons { + left: 0; + } } diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 8e30eba2a..cb84409cb 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -312,7 +312,9 @@ export class MainView extends React.Component { } @computed get flyout() { - return !this._flyoutWidth ? <div className={`mainView-libraryFlyout-out"}`} style={{ width: 0 }} /> : + return !this._flyoutWidth ? <div className={`mainView-libraryFlyout-out`}> + {this.docButtons} + </div> : <div className="mainView-libraryFlyout" style={{ minWidth: this._flyoutWidth, width: this._flyoutWidth }} > <div className="mainView-contentArea" > <DocumentView |