Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/397.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何解决使用Google+;回复网站上的评论?_Javascript_Html_Css_Google Plus - Fatal编程技术网

Javascript 如何解决使用Google+;回复网站上的评论?

Javascript 如何解决使用Google+;回复网站上的评论?,javascript,html,css,google-plus,Javascript,Html,Css,Google Plus,我的网站在台式机和移动设备上呈现得非常好,没有任何与方向相关的视口问题……直到我实现Google+comments,它将页面宽度设置为此处定义的任何宽度: <!-- Google comments --> <script src="https://apis.google.com/js/plusone.js"> </script> <div class="g-comments" data-href="[URL-OF-PAGE-HERE]" data

我的网站在台式机和移动设备上呈现得非常好,没有任何与方向相关的视口问题……直到我实现Google+comments,它将页面宽度设置为此处定义的任何宽度:

<!-- Google comments -->
<script src="https://apis.google.com/js/plusone.js">
</script>
<div class="g-comments"
  data-href="[URL-OF-PAGE-HERE]"
  data-width="720"
  data-first_party_property="BLOGGER"
  data-view_type="FILTERED_POSTMOD">
</div>

参见示例页。调整窗口大小(水平)以查看问题的效果

这是可以通过某种方式解决的问题吗?这个问题真的存在于谷歌的代码中吗?

使用
data width=“100%”
注释框将完全消失