Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions src/theme/DocItem/ShareButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,16 @@ function ShareButton(props) {
];

return (
<div className="dropdown dropdown--hoverable pointer">
<a
target="_blank"
rel="noreferrer noopener"
style={{ marginTop: "0.45rem" }}
<div className="dropdown dropdown--hoverable pointer mr-4">
<button
className="button button--lg button--link padding-horiz--none pointer share-button hover:no-underline"
style={{ fontWeight: 400, fontFamily: "inherit", fontSize: "inherit" }}
>
<img
<img
className="margin-right--xs"
src={shareIconUrl}
style={{ height: "16px", width: "18px", verticalAlign: "-0.125em" }}
style={{ height: "16px", verticalAlign: "-0.125em" }}
></img>
</a>
<button
className="button button--lg button--link padding-horiz--none pointer share-button"
style={{ fontWeight: 400, fontFamily: "inherit", fontSize: "inherit" }}
>
Share
</button>

Expand Down