diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-11-24 23:39:44 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-11-24 23:39:44 -0500 |
commit | 2a84a002b06bdff969483f19390bf5a6d416d3a9 (patch) | |
tree | 2de60e555ad14d2c34196953544c156e31332d9d /src/client/views/nodes/ContentFittingDocumentView.tsx | |
parent | 548ef34592eb83fac52d941e67ecd97032dfad09 (diff) |
lots of fixes for full screen image/pdf/video views. fixes to image box fade image.
Diffstat (limited to 'src/client/views/nodes/ContentFittingDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/ContentFittingDocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ContentFittingDocumentView.tsx b/src/client/views/nodes/ContentFittingDocumentView.tsx index 573a55710..a5f96d2de 100644 --- a/src/client/views/nodes/ContentFittingDocumentView.tsx +++ b/src/client/views/nodes/ContentFittingDocumentView.tsx @@ -82,7 +82,7 @@ export class ContentFittingDocumentView extends React.Component<ContentFittingDo transform: `translate(${this.centeringOffset}px, 0px)`, borderRadius: this.borderRounding, height: this.props.PanelHeight(), - width: this.props.PanelWidth() + width: `${100 * (this.props.PanelWidth() - this.centeringOffset * 2) / this.props.PanelWidth()}%` }}> <DocumentView {...this.props} DataDoc={this.props.DataDocument} |