Add button for copying lndhub setup code #55

Merged
raucao merged 2 commits from feature/37-copy_setup_code into master 2021-12-16 14:23:14 +00:00
Owner

Adds a button for copying the code to the clipboard. Also refactors the text links to be buttons instead.

closes #37

Adds a button for copying the code to the clipboard. Also refactors the text links to be buttons instead. closes #37
raucao added the
kredits-1
label 2021-12-15 13:55:45 +00:00
raucao added 1 commit 2021-12-15 13:55:45 +00:00
Add button for copying lndhub setup code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
f1d3e3d8ec
closes #37
raucao requested review from Core 2021-12-15 13:55:53 +00:00
galfert approved these changes 2021-12-16 13:39:43 +00:00
galfert left a comment
Owner

Tailwind has the classes visible and invisible (https://tailwindcss.com/docs/visibility).

Using those might be a little cleaner than inline styles and toggling the display values between none, block and inline-block.

Other than that all looks good to me.

Tailwind has the classes `visible` and `invisible` (https://tailwindcss.com/docs/visibility). Using those might be a little cleaner than inline styles and toggling the display values between `none`, `block` and `inline-block`. Other than that all looks good to me.
raucao added 1 commit 2021-12-16 14:19:20 +00:00
Use Tailwind classes to hide/show elements
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
78aea5d608
Author
Owner

@galfert Thanks for the suggestion! I switched it to use the "hidden" class, which the same amount of code, but a bit nicer indeed. 👍

@galfert Thanks for the suggestion! I switched it to use the "hidden" class, which the same amount of code, but a bit nicer indeed. 👍
raucao merged commit 0f0f296a5e into master 2021-12-16 14:23:14 +00:00
raucao deleted branch feature/37-copy_setup_code 2021-12-16 14:23:18 +00:00
Sign in to join this conversation.
No description provided.