Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,9 @@ def create_copy_button(text_to_copy):
|
|
51 |
document.body.removeChild(el);
|
52 |
}}
|
53 |
</script>
|
54 |
-
<button onclick="copyToClipboard{button_id}()"
|
|
|
|
|
55 |
"""
|
56 |
return copy_js
|
57 |
|
|
|
51 |
document.body.removeChild(el);
|
52 |
}}
|
53 |
</script>
|
54 |
+
<button onclick="copyToClipboard{button_id}()" class="btn" style="border: none; background: none;">
|
55 |
+
<img src="./copy.png;base64,{icon_base64}" style="width: 24px; height: 24px;"/>
|
56 |
+
</button>
|
57 |
"""
|
58 |
return copy_js
|
59 |
|