Browse Source

Some fix with social buttons

pull/2301/head
Artur Arseniev 11 years ago
parent
commit
2af15b1871
  1. 4
      index.html
  2. 4
      stylesheets/stylesheet.css

4
index.html

@ -7,7 +7,7 @@
<meta property="og:type" content="website" />
<meta property="og:title" content="GrapesJS" />
<meta property="og:description" content="Free and Open source Web Template Editor - Next generation tool for building templates without coding" />
<meta property="og:image" content="./img/share-image.jpg" />
<meta property="og:image" content="http://grapesjs.com/img/share-image.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
@ -45,7 +45,7 @@
</section>
<footer class="site-footer">
<div class="btn-share">
<div class="fb-share-button" data-href="http://grapesjs.com" data-layout="button"></div>
<div class="fb-share-button" data-href="http://grapesjs.com?test" data-layout="button"></div>
<a href="https://twitter.com/share" class="twitter-share-button"{count} data-url="http://grapesjs.com" data-text="GrapesJS: next generation tool for building templates without coding" data-hashtags="grapesjs">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

4
stylesheets/stylesheet.css

@ -54,8 +54,8 @@ a {
width:100%;
}
.fb-share-button{ display: inline !important; }
.fb-share-button > span{ width:60px !important; height: 20px !important;}
.fb-share-button iframe{ width:auto !important; height: auto !important;}
.fb-share-button > span, .fb-share-button iframe{ width:60px !important; height: 20px !important;}
.fb-share-button > span{vertical-align: baseline !important; }
@media screen and (min-width: 64em) {
.btn {

Loading…
Cancel
Save