mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-24 05:28:36 -06:00
Add tooltip to CopyButton component
This commit is contained in:
@@ -51,7 +51,8 @@ func copyButton(props copyButtonProps) gomponents.Node {
|
||||
sc := copyButtonScript(id, props.TextToCopy)
|
||||
|
||||
return html.Div(
|
||||
html.Class("inline-block"),
|
||||
html.Class("inline-block tooltip tooltip-right"),
|
||||
html.Data("tip", "Copy to clipboard"),
|
||||
sc.script,
|
||||
html.Button(
|
||||
components.Classes{
|
||||
|
||||
Reference in New Issue
Block a user