]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
drop iframe attributes for CSS styling 9399/head
authorMark Otto <otto@github.com>
Mon, 12 Aug 2013 22:23:37 +0000 (15:23 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 13 Aug 2013 00:46:02 +0000 (17:46 -0700)
_includes/social-buttons.html
assets/css/docs.css

index 11695ca1bd434e4fd3ae3f85bccb79d6e898ea32..89a24123e827bc2eb72268f54680a194d3e365be 100644 (file)
@@ -1,10 +1,10 @@
 <div class="bs-social">
   <ul class="bs-social-buttons">
     <li>
-      <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" title="Star on GitHub"></iframe>
+      <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
     </li>
     <li>
-      <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102" height="20" title="Fork on GitHub"></iframe>
+      <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>
     </li>
     <li class="follow-btn">
       <a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
index b5725c9236be1ed0f40c14851034756fdf60ef45..bc50c5d417fdd147c7f62a5303fcb62f5c7c8009 100644 (file)
@@ -705,6 +705,11 @@ body {
 .bs-social-buttons .twitter-share-button {
   width: 98px !important;
 }
+/* Style the GitHub buttons via CSS instead of inline attributes */
+.github-btn {
+  border: 0;
+  overflow: hidden;
+}