diff options
author | bobzel <zzzman@gmail.com> | 2022-06-06 18:30:14 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-06 18:30:14 -0400 |
commit | c2da7a2f1074ea7c7859394d394ad0a99882a286 (patch) | |
tree | 6472eb15f7806e5ae26127f3918a91d0e533436d /src/client/views/MainView.tsx | |
parent | 076dbb1b7a17c077936e0bb291de363277173369 (diff) |
fixed docking view layout when headerBar is expanded to not leave a gap.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 9c9b19122..cdf85c905 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -286,7 +286,7 @@ export class MainView extends React.Component { headerBarScreenXf = () => new Transform(-this.leftScreenOffsetOfMainDocView - this.leftMenuFlyoutWidth(), -this.headerBarDocHeight(), 1); @computed get headerBarDocView() { - return <div style={{ height: this.headerBarDocHeight() }}> + return <div className="mainView-headerBar" style={{ height: this.headerBarDocHeight() }}> <DocumentView key="headerBarDoc" Document={this.headerBarDoc} DataDoc={undefined} @@ -502,15 +502,6 @@ export class MainView extends React.Component { </>; } - @computed get headerBar() { - return !this.userDoc ? (null) : - <div className="mainView-dashboardArea" style={{ - height: this.headerBarDocHeight(), - width: "100%", - }} > - {this.headerBarDocView} - </div>; - } @computed get mainDashboardArea() { return !this.userDoc ? (null) : |