You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/02 04:17:36 UTC
[4/4] docs commit: Fixed responsive layout of plugin results copy
icon. This closes #326.
Fixed responsive layout of plugin results copy icon. This closes #326.
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/61508726
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/61508726
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/61508726
Branch: refs/heads/cordova-website
Commit: 615087264bb193b7ff210759523e0400a564c4c3
Parents: f6d687b
Author: riknoll <ri...@microsoft.com>
Authored: Tue Sep 1 10:53:14 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Tue Sep 1 19:17:16 2015 -0700
----------------------------------------------------------------------
www/static/plugins/plugin.jsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/61508726/www/static/plugins/plugin.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/plugin.jsx b/www/static/plugins/plugin.jsx
index 21d6126..347e5b6 100755
--- a/www/static/plugins/plugin.jsx
+++ b/www/static/plugins/plugin.jsx
@@ -59,28 +59,28 @@ var Plugin = React.createClass({
if(this.props.plugin) {
copyIcon = (
- <div>
<img
id={"copy-" + this.props.plugin.name}
className="plugins-copy-to-clipboard"
src="{{ site.baseurl}}/static/img/copy-clipboard-icon.svg"
title="Copy cordova plugin add command to clipboard"
data-toggle="tooltip"
- data-placement="left" />
- </div>
+ data-placement="auto" />
);
}
return (
<div className="container plugin-results-result">
- {copyIcon}
<div className="row">
- <div className="col-sm-8">
+ <div className="col-sm-8 col-xs-8">
<span>
<h2><a href={npmLink} onClick={trackOutboundLink.bind(this, npmLink)} target="_blank">{this.props.plugin.name}</a></h2>
<p className="version_and_author">v{this.props.plugin.version} by <strong>{this.props.plugin.author}</strong></p>
</span>
</div>
+ <div className="col-sm-4 col-xs-4">
+ {copyIcon}
+ </div>
</div>
<div className="row">
<div className="col-sm-8">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org