Add share style link, copy button

This adds a copy to clipboard button and input with the style parameter
pre-populated after exporting a style to an anonymous gist. Also
includes the URL as an input next to the button.
This commit is contained in:
pjsier
2017-10-15 19:59:06 -05:00
parent 36def799c0
commit cda855f1b7
3 changed files with 30 additions and 5 deletions

View File

@@ -3,3 +3,15 @@
display: inline-block;
}
}
.maputnik-render-gist {
p {
margin: 10px 0;
}
input.maputnik-string {
margin-left: 5px;
width: 60%;
display: inline-block;
}
}