Support » Plugin: Copy Anything to Clipboard » position of the copy button is not fixed

  • Deepak

    (@golinuxcloud)


    Hello team,

    I have recently installed this plugin on my staging site.

    I have a custom CSS for \<pre\> where I have defined a scrollbar for text overflow. In such case I observe that the position of the copy button is not fixed and it changes if I use the scroll bar in my \<pre\> tag
    The position should be fixed to the right side in the corner
    screenshot

    I can keep the button “Outside” using your setting but then that would use extra padding which I do not want.

    is there some way to fix the copy button in the corner even when someone scrolls the code section

    • This topic was modified 1 year, 3 months ago by Deepak.
    • This topic was modified 1 year, 3 months ago by Deepak.
    • This topic was modified 1 year, 3 months ago by Deepak.
    • This topic was modified 1 year, 3 months ago by Deepak.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mahesh Waghmare

    (@mahesh901122)

    Hello @golinuxcloud,

    You can easily set the button position outside the selector (pre tag) from the settings page.

    Thanks and regards,
    Mahesh

    Thread Starter Deepak

    (@golinuxcloud)

    Hi Mahesh,

    Yes that option is there but it adds alot of padding outside the pre section which I do not want.

    I have switched to another plugin and that seems to be working fine. I hope you can add this enhancement because here I see actually someone is actively checking the support mailbox. The other plugin is dead for months but at least seems to be working now.

    Also do you guys have an option to add copy icon instead of some text?

    Regards
    Deepak

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘position of the copy button is not fixed’ is closed to new replies.