Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^6: Page rendering bugs (wide table)

by jdporter (Canon)
on Jul 15, 2012 at 00:32 UTC ( #981868=note: print w/replies, xml ) Need Help??

in reply to Re^5: Page rendering bugs (wide table)
in thread Page rendering bugs

I do significant restyling as myself, but not as Anonymous Monk, obviously, and afaict it looks fine as Anonymous Monk for me. Does it not for you? I have an alter ego which does not have any custom css. With this user, I cycled through the themes and never saw any problem with the headers being huge.

My complaint was about the headings being huge. The table is significantly wider due to that.

I don't know why you are getting that. I have to suppose you have some kind of unfortunate combination of styling that makes it come out that way.

Oh, wait. Do you have "Large Code Font" enabled? :-)

Replies are listed 'Best First'.
Re^7: Page rendering bugs (wide table)
by tye (Sage) on Jul 15, 2012 at 01:04 UTC

    Sorry. Distractions abound today. I meant to note that I have the huge headings both for tye and for tye  and the latter has very few non-default settings (and one CSS bit that wouldn't apply). Yes, I have "large code" enabled. I wouldn't be surprised if tye  does as well. I suspected that might be part of it. But the headings look like they are in H2 tags.

    Note that I'm tempted to make "large code" the default, including it being in effect for Anonymous Monk. BTW, the real effect is that "large code" just means "don't make the code font smaller". And the only reason for making the code font smaller is because a fixed-width font looks slightly larger beside other fonts of the same height. I don't mind having the code appear to matter slightly more than the text (by default). In most environments, I find the difference isn't a big deal. But in some environments, the attempt to make the code slightly smaller really makes it enough smaller that it gets hard to read.

    afaict it looks fine as Anonymous Monk

    It looks okay as Anonymous Monk on a maximized browser window on a desktop monitor. It still makes the thread obnoxious to try to read on anything even a little smaller.

    With auto code wrap and the top nav disabled, most of the site will shrink down significantly in width and be readable even on my narrow, ancient, low-res Zaurus screen. So it is polite if things that can't wrap down to a narrow width be optional to show within a thread.

    Of course, your table, even as Anonymous Monk, prevents me from reading the thread unless I disrupt my entire desktop by maximizing the browser window. So I still haven't read it yet.

    Ah, you've moved it to a reply in a readmore. Thanks!

    - tye        

      Yeah, I meant to mention that I did that.

      And now I've figured out what I did that was probably really causing a large part of the problem: I had added class="titlebar" to the header row of the table. :-P Now I've removed that, removed the <c> tags, and s/<TH>/<TD>/g. So I think it now looks about as good as I can get it.

      Sorry for all the kerfuffle. But... lesson learned!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981868]
[erix]: then you might as well send that patch to the DBIC guys :)
[Corion]: erix: Yeah, I just found that it has no documentation at all on how to circumvent/ eliminate "1+n SELECTs" by building a local hash... I guess I have to make ->has_many do the hash lookup instead of doing the SQL query. But as the problem ...
[Corion]: ... has only manifested itself so far through the puzzled questions of other bystanders, I won't go deeper at this time. But the DBIx::Class documentation could well do with a document on how to make "it" (that is, ORMs in general) faster ;)
[Corion]: I find that DBIx::Class, like most ORMs makes things easy until they become performance critical and then makes it horribly hard to change things because the design is highly inflexible if you don't already know about the problems of 1+n :-/

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-09-25 11:06 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (279 votes). Check out past polls.