Permalink
Browse files

[webdoc] Wrap native open in a <p>

  • Loading branch information...
1 parent 8f8dbe2 commit 52824ced99a44b57a714545f13973005212d9eed @garuma garuma committed Aug 9, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 webdoc/common.css
  2. +1 −1 webdoc/index.aspx
View
@@ -183,6 +183,7 @@ div.related ul {
}
.native-browser {
+ font-family: "Lucida Grande", Geneva, Helvetica, Arial, Verdana, Sans-Serif;
display: inline-block;
color: #333 !important;
text-decoration:none !important;
View
@@ -112,7 +112,7 @@ add_native_browser_link = function () {
var id = contentDiv.attr ('id').replace (':Summary', '');
var h2 = contentDiv.children ('h2').first ();
if (h2.prev ().attr ('class') != 'native-browser')
- h2.before ('<a class="native-browser" href="mdoc://' + encodeURIComponent (id) + '"><span class="native-icon"><img src="images/native-browser-icon.png" /></span>Open in Native Browser</a>');
+ h2.before ('<p><a class="native-browser" href="mdoc://' + encodeURIComponent (id) + '"><span class="native-icon"><img src="images/native-browser-icon.png" /></span>Open in Native Browser</a></p>');
}
};
add_native_browser_link ();

0 comments on commit 52824ce

Please sign in to comment.