[personal profile] marahmarie posting in [community profile] style_system

ETA: SOLVED. With this layout, deleting display:none from .clearfoot fixes things right up (yes, the design seems to be inadvertently coded so that it cuts off the sidebar in the three views mentioned in my post title).

Like in this example. Another user in this community had the same problem months ago (not with this style, actually a Core 2 style) and I was one of the ones who helped them, though I wasn't of much help because nothing I tried or suggested at the time really worked. Can't help myself now, either. Any suggestions?

Date: 2012-11-17 03:47 pm (UTC)
carene_waterman: An image of the Carina Nebula (Default)
From: [personal profile] carene_waterman
ETA: Okay, thought about this and realized you likely don't mean the calendar issue. You mean that there is no margin below the sidebar when the page has no footer and the sidebar is the longer of the two columns, yes?

Okay, the reason for this is that the style applies display:none; to the .clear divs that are part of the layout. This is the very old-fashioned way of clearing floats used on most LJ and DW layouts. display:none stops them from having any function in the layout. There are two of them, one below the content and sidebar columns and one below the #footer.

You can either get rid of that display: none; and you'll have some extra spacing on all pages, or if that messes up the design for you, try adding a margin-bottom to the #sidebar which worked on my browser.

Do you mean the way the calendar overruns the sidebar?

The problem there is that the calendar module is a table and tables are not very fluid. There will be a minimum size it will occupy, depending on how it is styled--in this case it looks like the td padding and font size are driving the size of the table.

Therefore, the only way to prevent the problem you're seeing is to limit the user preference of sidebar width. You can put a min-width in the css on the sidebar which will override the user preference or dig into the S2 and make it impossible for the setting to go below the calendar width.

For a really good implementation of this, I would suggest making the min-width conditional on the calendar being in the sidebar. If it's in the other module section, it's not an issue.
Edited Date: 2012-11-17 09:33 pm (UTC)

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 28th, 2025 05:42 am
Powered by Dreamwidth Studios