[personal profile] nimueth posting in [community profile] style_system
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?

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

Date: 2014-07-18 02:59 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

shortly == now ;)

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

Date: 2014-07-18 03:44 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

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

Date: 2014-07-18 03:49 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

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

Date: 2014-07-18 04:04 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

You're welcome!

Date: 2014-07-18 04:22 pm (UTC)
musyc: Silver flute resting diagonally across sheet music (Default)
From: [personal profile] musyc
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.

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

#lj_controlstrip td {
display: table-cell;
white-space: nowrap; }

Date: 2014-07-18 07:42 pm (UTC)
musyc: Silver flute resting diagonally across sheet music (Default)
From: [personal profile] musyc
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.

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

You're welcome!

Date: 2014-07-19 04:57 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

Hrrm, try:

#lj_controlstrip td { display: table-cell; }

Date: 2014-07-18 10:44 pm (UTC)
carene_waterman: An image of the Carina Nebula (Default)
From: [personal profile] carene_waterman
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.

Date: 2014-07-19 04:55 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

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

Date: 2014-07-21 07:50 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna

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

Profile

Dreamwidth style system discussion

April 2025

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

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 16th, 2025 12:37 pm
Powered by Dreamwidth Studios