kabanero-io / kabanero-website

kabanero.io website. This repo will be archived soon.

Home Page:https://kabanero.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the "copy code" icon in Code Blocks persistent

bschrammIBM opened this issue · comments

Describe the bug

There is a copy code icon in the Guides, see the attached screen. It only appears on mouse hover.

Expected behavior

Please make the icon persistent. Sometimes a user may not have their mouse in the code block.
Screen Shot 2019-10-23 at 11 34 21 AM

Actual behavior

Steps to reproduce the bug

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. See error

Environment where the bug occurred

  • Firefox (Desktop)
  • Safari (Desktop)
  • Chrome (Desktop)
  • Internet Explorer (Desktop)
  • iOS (Mobile)
  • Android (Mobile)

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

After a preliminary look into this issue, it seems theres some javascript responsible for the showing and hiding of the button. I will look into removing it and see how difficult that will be.

@KyeMaloy97 and @kidus60 - what is the status of this bug issue?

@marikaj123 I haven't been working on this at the moment, it looked to be pretty complex to sort as the site uses a lot of javascript, @kidus60 is still assigned so may have some more info?

@marikaj123 @KyeMaloy97 the issue was a bit complex and I picked up a higher priority issue so I haven’t been working on it either but I’ll go back and continue making progress today.

According to Kidus, the issue is fixed and the PR is waiting to be merged.