From 0260c32bbe8bf5d13cb8fa54b1a1d258152f3f07 Mon Sep 17 00:00:00 2001 From: Chris Beer <cabeer@stanford.edu> Date: Mon, 15 Apr 2019 13:46:27 -0700 Subject: [PATCH] Remove unnecessary style param from CaptionedCanvasThumbnail --- src/components/CaptionedCanvasThumbnail.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/CaptionedCanvasThumbnail.js b/src/components/CaptionedCanvasThumbnail.js index ac7cebe2c..afb24cbeb 100644 --- a/src/components/CaptionedCanvasThumbnail.js +++ b/src/components/CaptionedCanvasThumbnail.js @@ -24,9 +24,6 @@ export class CaptionedCanvasThumbnail extends Component { } isValid={manifestoCanvas.hasValidDimensions} maxHeight={height} - style={{ - maxWidth: `${Math.ceil(height * manifestoCanvas.aspectRatio)}px`, - }} /> <div className={classNames(ns('canvas-thumb-label'), classes.canvasThumbLabel)} -- GitLab