ux icon indicating copy to clipboard operation
ux copied to clipboard

Make toolbox tab spacing a bit tighter

Open fvsch opened this issue 5 years ago • 6 comments

We could "win" a bit of spacing in the toolbox toolbar by making tab spacing a bit tighter. Currently we use this:

| 8px [icon] 6px [label] 8px |

and we could decrease spacing to:

| 6px [icon] 5px [label] 6px |

Here is how it looks:

  • Current: screenshot
  • Tighter (with a 2px space before the first tab and after the last tab): screenshot

It's a 5px win per tab, so for 10 tabs we get back 50px. Not huge, but if it feels right it's a quick win.

/cc @violasong @digitarald @martinbalfanz

fvsch avatar Mar 17 '20 17:03 fvsch

@fvsch I like it, making tools work better for small spaces is common feedback. Would be nice to have this responsively applied, to give tabs more space on large viewports.

digitarald avatar Mar 17 '20 22:03 digitarald

I've been looking at this and feeling unsure, but I could probably get used to it :D. Responsive would be good, and either way, it would be great to do this for vertical mode.

I realized there's another place where I'd love to see this treatment - the sidebar tabs. They actually look a little too wide to me at the moment. Would be a nice complement to #114.

violasong avatar Mar 27 '20 00:03 violasong

Seems like there is a general agreement to apply this smaller spacing for sidebar-tabbars and in vertical mode.

digitarald avatar Apr 22 '20 05:04 digitarald

@violasong as we are touching up the Network panel anyways, should we try the smaller tab space there first?

digitarald avatar May 25 '20 17:05 digitarald

Yes, that would be great!

violasong avatar May 27 '20 00:05 violasong

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1641405 for Network

digitarald avatar May 27 '20 23:05 digitarald