• Hi,

    I’m getting vertical scrollbars on all code that is syntax highlighted in Safari and Chrome. It doesn’t happen in IE and Firefox. It seems to be related to the line-height in this section of the CSS in shCore.css

    .syntaxhighlighter a,
    .syntaxhighlighter div,
    .syntaxhighlighter code,
    .syntaxhighlighter table,
    .syntaxhighlighter table td,
    .syntaxhighlighter table tr,
    .syntaxhighlighter table tbody,
    .syntaxhighlighter table thead,
    .syntaxhighlighter table caption,
    .syntaxhighlighter textarea {
    -moz-border-radius: 0 0 0 0 !important;
    -webkit-border-radius: 0 0 0 0 !important;
    background: none !important;
    border: 0 !important;
    bottom: auto !important;
    float: none !important;
    height: auto !important;
    left: auto !important;
    line-height: 1.1em !important;
    margin: 0 !important;
    outline: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    right: auto !important;
    text-align: left !important;
    top: auto !important;
    vertical-align: baseline !important;
    width: auto !important;
    box-sizing: content-box !important;
    font-family: “Consolas”, “Bitstream Vera Sans Mono”, “Courier New”, Courier, monospace !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 1em !important;
    /*min-height: inherit !important; */
    /*min-height: auto !important;*/
    direction: ltr !important;
    }

    If I remove the line-height, I don’t get anymore vertical bars…I’m wondering if this is an issue with the plugin or a combination of my theme and the plugin. I’m using the digitalnature theme. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] Vertical scrollbars in Chrome & Safari’ is closed to new replies.