Skip to content

Commit

Permalink
Consider narrow width devices
Browse files Browse the repository at this point in the history
  • Loading branch information
misol committed Jul 5, 2015
1 parent a6cbb9b commit 829f5a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title xml:lang="en">Maps</title>
<description xml:lang="ko">지도를 원하는 곳에 추가하거나 수정할 수 있습니다. Google Maps API, 다음 지도 API, 다음 로컬 API 등이 사용되었습니다.</description>
<description xml:lang="en">Maps can be inserted in your documents. Google Maps API, Daum Maps API, Daum Local API and some other APIs are included.</description>
<version>1.1.3</version>
<version>1.1.4</version>
<date>2015-07-05</date>
<license link="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</license>
<author email_address="[email protected]">
Expand Down
2 changes: 1 addition & 1 deletion map_components.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ function transHTML($xml_obj) {
$width = $width.'px';
}
$height = $height.'px';
$view_code = '<span id="ggl_map_canvas'.$map_count.'" style="box-sizing:border-box;width:'.$width.'; height:'.$height.'" class="soo_maps"></span>'.
$view_code = '<span id="ggl_map_canvas'.$map_count.'" style="box-sizing:border-box;width:'.$width.';max-width:100%;height:'.$height.'" class="soo_maps"></span>'.
'<script>'.
'jQuery(window).load(function() { ggl_map_init'.$map_count.'(); });'.
'</script>'."\n";
Expand Down

0 comments on commit 829f5a9

Please sign in to comment.