Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
added classname to code sandbox button for easier styling
Browse files Browse the repository at this point in the history
  • Loading branch information
micahgodbolt committed May 5, 2022
1 parent 929b3f0 commit 31426ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const getDependencies = (fileContent: string, requiredDependencies: PackageDepen

const displayToolState = (selector: string, context: StoryContext) => {
let exportLink = document.createElement('a');
exportLink.className = 'with-code-sandbox-button';
exportLink.style.setProperty('position', 'absolute');
exportLink.style.setProperty('bottom', '0');
exportLink.style.setProperty('right', '90px');
Expand Down

0 comments on commit 31426ba

Please sign in to comment.