Shop OBEX P1 Docs P2 Docs Learn Events
Unfinished forum upgrade business — Parallax Forums

Unfinished forum upgrade business

Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
edited 2011-11-04 19:45 in General Discussion
Hey Bump,

When you've got time:
Indents
are
still
too
indenty.

See what I mean?
Code blocks need to be a bit higher.

















Hello, up there!

And the CSS for the preview screen needs to match that of the final display:

attachment.php?attachmentid=86563&d=1320346250

Thanks,
-Phil
484 x 331 - 5K

Comments

  • kuronekokuroneko Posts: 3,623
    edited 2011-11-03 19:02
    Seconded. The code block issue is most irritating.
  • BumpBump Posts: 592
    edited 2011-11-04 13:11
    Indents are are 40px, which is not easily changed. You'd assume it's just a BBCode flop or a CSS dealio, but no; it seems to be hidden somewhere in one of these many many sheets. I'll devote a small amount of time to trying to find that massive indent margin-left, but sadly not a lot of time as the Forums' style is low on my totem pole =/

    Code blocks were not taking the amount of text in the block into effect, which it should have been... I'm looking into why when I get time and seeing if it's not simply just a math mistake or misunderstanding. The limit before it goes to scroll is determined by the content, since it wasn't even taking that into effect I zero'd it out. If that becomes too annoying (it should now display the full code listing) then I can just put an exact size limit on it until I can find the actual error.

    I'll check out the preview problem too.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-11-04 13:31
    Thanks, Bump! I know you're busy, so your efforts to go these last few yards are all the more appreciated.

    I suspect that, for the code blocks, there's a metric that indicates how many vertical pixels each line of code requires. It seems to be low by one pixel. IOW, if
    height = lines * pixels_per_line + margin ,

    the margin constant will accommodate the underestimate of pixels_per_line up to a certain number of lines, then the last line becomes more and more hidden as more lines are added. At least, this is the behavior I'm noticing.

    -Phil
  • SRLMSRLM Posts: 5,045
    edited 2011-11-04 19:29
    I'm not sure what the issue is with the code block? Besides the large amount of space (which I assume is lot's of new lines) it seems to display fine?

    Unfinished forum upgrade business - Chromium_004.png
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-11-04 19:35
    SRLM,

    What browser are you using? In Firefox, the lower part of the bottom line gets chopped off, and a scrollbar appears.

    -Phil
  • SRLMSRLM Posts: 5,045
    edited 2011-11-04 19:40
    I use Chromium on Ubuntu

    Is this what you mean? (Firefox on Ubuntu below)
    Unfinished forum upgrade business - Mozilla Firefox_005.png
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-11-04 19:45
    Yup, that's what I see. And the problem is more pronounced as more lines are added.

    -Phil
Sign In or Register to comment.