Add button for copying lndhub setup code #55
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/37-copy_setup_code"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a button for copying the code to the clipboard. Also refactors the text links to be buttons instead.
closes #37
Tailwind has the classes
visible
andinvisible
(https://tailwindcss.com/docs/visibility).Using those might be a little cleaner than inline styles and toggling the display values between
none
,block
andinline-block
.Other than that all looks good to me.
@galfert Thanks for the suggestion! I switched it to use the "hidden" class, which the same amount of code, but a bit nicer indeed. 👍