diff --git a/package-lock.json b/package-lock.json index 307020a9a..9f58b37bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "devDependencies": { "@axe-core/puppeteer": "^4.5.2", "@babel/core": "^7.9.6", diff --git a/package.json b/package.json index 7c0364dd0..4e8a10895 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "description": "A starter Search theme for hitchhikers", "keywords": [ "jambo", diff --git a/static/js/overlay/parent-frame/dom/stylist.js b/static/js/overlay/parent-frame/dom/stylist.js index 1df0365be..61b748851 100644 --- a/static/js/overlay/parent-frame/dom/stylist.js +++ b/static/js/overlay/parent-frame/dom/stylist.js @@ -83,9 +83,9 @@ export default class Stylist { this._iframeWrapperEl.style['opacity'] = '1'; this._iframeWrapperEl.style['transition'] = `opacity ${AnimationStyling.TRANSITION_TIMING}`; this._iframeWrapperEl.style['width'] = this._currentWidth; - this._iframeWrapperEl.style['height'] = `${isTaller + this._iframeWrapperEl.style['height'] = isTaller ? AnimationStyling.CONTAINER_HEIGHT_TALLER - : this._minHeight}px`; + : `${this._minHeight}px`; this._overlayContainerEl.style['transition'] = `box-shadow ${AnimationStyling.TRANSITION_TIMING}`; @@ -152,8 +152,8 @@ export default class Stylist { this._buttonHeight = height; this._buttonWidth = Math.min(AnimationStyling.MAX_BUTTON_WIDTH, width); - this._buttonFrameEl.style['width'] = this._buttonWidth; - this._buttonFrameEl.style['height'] = this._buttonHeight; + this._buttonFrameEl.style['width'] = `${this._buttonWidth}px`; + this._buttonFrameEl.style['height'] = `${this._buttonHeight}px`; } /** diff --git a/static/package-lock.json b/static/package-lock.json index d748b2b27..c8c3a3045 100644 --- a/static/package-lock.json +++ b/static/package-lock.json @@ -1,12 +1,12 @@ { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "license": "BSD-3-Clause", "dependencies": { "@vimeo/player": "^2.15.3", diff --git a/static/package.json b/static/package.json index 935488b7c..6b7972664 100644 --- a/static/package.json +++ b/static/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.33.2", + "version": "1.33.3", "description": "Toolchain for use with the HH Theme", "main": "Gruntfile.js", "scripts": {