nimueth: (Default)
Nimueth ([personal profile] nimueth) wrote in [community profile] style_system2014-07-18 11:39 am
Entry tags:

Navigation strip size.

I prefer smaller fonts to DW's defalt, but everytime I decrease the page size in the editor, the navigation strip becomes uncomfortable to read.




Is there a way to fix the navstrip's size with CSS, so that it remains unaffected?
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-18 11:16 am (UTC)(link)
That's going to be changed back to how it was pretty soon so this may no longer be an issue shortly!
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-18 02:59 pm (UTC)(link)

shortly == now ;)

(should be 11px which is what it was before)

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-18 03:44 pm (UTC)(link)

NP! Your question was perfect timing basically :)

We're trying to make the control strip not stretch the page on smaller screens so we adjusted the

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-18 03:49 pm (UTC)(link)

NP! Your question was perfect timing basically :)

We're trying to make the control strip not stretch the page on smaller screens so we basically made it stop displaying on one line and tried to let it wrap when possible

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-18 04:04 pm (UTC)(link)

You're welcome!

musyc: Silver flute resting diagonally across sheet music (Default)

[personal profile] musyc 2014-07-18 04:22 pm (UTC)(link)
we basically made it stop displaying on one line and tried to let it wrap when possible

Is there a simple, CSS-based way to undo that and put it back to one-line, no-wrap, full-width? Having it all squished to the left and breaking into multiple lines is seriously messing with my visual sense of balance. Like, to the point where I'm about to shut it off because it makes me nervous to look at it.

[personal profile] ex_beautified302 2014-07-18 07:29 pm (UTC)(link)
Adding this to your CSS seems to work:

#lj_controlstrip td {
display: table-cell;
white-space: nowrap; }
musyc: Silver flute resting diagonally across sheet music (Default)

[personal profile] musyc 2014-07-18 07:42 pm (UTC)(link)
Thank you! That gave me the hint I needed. I took out the white-space because I don't actually care how tall the strip is, just how wide. XD On my tablet, I'm getting a nice single row all the way across now.

[personal profile] ex_beautified302 2014-07-18 07:48 pm (UTC)(link)
Whoops, that's my personal account! ;)

You're welcome!
carene_waterman: An image of the Carina Nebula (Default)

[personal profile] carene_waterman 2014-07-18 10:44 pm (UTC)(link)
I very strongly believe you need to step back and fix the html of the nav strip before you try to force it to be responsive with CSS.

There is no good semantic reason for it to be a table. Make it some divs or even list items, style them with inline block and any user or theme maker can easily override that, put fixed widths on them, adjust the placing with media queries etc. etc.

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-19 04:55 pm (UTC)(link)

I agree in theory but I'm pretty wary of touching the control strip HTML structure, because everything then breaks all over again :/

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-19 04:57 pm (UTC)(link)

Hrrm, try:

#lj_controlstrip td { display: table-cell; }
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2014-07-21 07:50 am (UTC)(link)

On second thought I feel like this shod happen and now is probably the best time so I will file a bug for this!