Viewing 7 replies - 1 through 7 (of 7 total)
  • peejfancher

    (@peejfancher)

    Did you ever find a fix for this? Having the same mouseover glitch issue you described.

    peejfancher

    (@peejfancher)

    Found the solution. For some reason the numbers column was fluctuating in size on mouse over. Giving the crayon-nums column a set width fixes the issue.

    On your site, you would need to add to your CSS:

    .crayon-theme-twilight .crayon-table .crayon-nums {
        width: 19px;
    }
    Thread Starter spyderman4g63

    (@spyderman4g63)

    Wow, thanks. I didn’t have time to look into it since installing. I was just seeing if crayon would work better than the syntax highlighter I usually use. I’ll give that a shot.

    Thread Starter spyderman4g63

    (@spyderman4g63)

    .crayon-main .crayon-table .crayon-nums seems like a better selector as it should apply to all themes.

    peejfancher

    (@peejfancher)

    You’re right. I was just giving a quick example. Glad this helped.

    fmj

    (@fmj)

    It does not solve the issue. 19px did not work for me, but 27 did (it probably had to do something with font-size, mine is 15px.
    Anyway – it did work only for a code longer than 9 lines. Any code with length of 9 or less lines still glitched.

    peejfancher

    (@peejfancher)

    Sure. I was just giving a quick solution for spyderman4g63’s specific problem.

    Either way, this seems like an issue that should be fixed at the plugin level as opposed to the user adding little snippets of CSS to fix usability.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moseover glitch with default Twenty Fifteen’ is closed to new replies.