From 839afe87bd475f35834cfa8468a51a7d54f493e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Sat, 13 Jun 2020 10:40:05 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20infowindow-view.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/geo/ui/infowindow-view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/geo/ui/infowindow-view.js b/src/geo/ui/infowindow-view.js index 1298a77..e05c558 100644 --- a/src/geo/ui/infowindow-view.js +++ b/src/geo/ui/infowindow-view.js @@ -103,6 +103,9 @@ var Infowindow = View.extend({ this.$('.js-infowindow').css('width', this.model.get('width') + 'px'); } + if (this.model.get('height')) { + this.$('.js-infowindow').css('height', this.model.get('height') + 'px'); + } if (this.model.get('maxHeight')) { this._getContent().css('max-height', this.model.get('maxHeight') + 'px'); }