1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed [code] always has vertical scrollbar

Discussion in 'Resolved Bug Reports' started by Disjunto, Jul 29, 2010.

  1. Disjunto

    Disjunto Well-Known Member

    Very low priority bug obviously, but code tag always seems to have a vertical scrollbar, even for very short messages

    Code:
    example
    Code:
    a
    b
    c
    d
    e
    f
    g
    h
    j

    EDIT: Thought I would test other browsers as I posted this. Only seems to occur in chrome :|
     
  2. Cezz

    Cezz Well-Known Member

    The CSS class is actually empty

    Code:
    overflow:  ;
    should be
    Code:
    overflow: auto;
    no???
     
  3. Disjunto

    Disjunto Well-Known Member

    scroll bars are still shown with overflow auto, not defining overflow (visible) removes them, and there doesn't appear to be a maximum height on the code box anyway

    EDIT: Removing "line-height: 100%" from the main pre definition stops scrollbars from showing aswell...
     

Share This Page