Closed
Bug 1394206
Opened 8 years ago
Closed 8 years ago
In-content prefs category icons not correctly centered with narrow window
Categories
(Thunderbird :: Theme, defect)
Thunderbird
Theme
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 57.0
People
(Reporter: Paenglab, Assigned: Paenglab)
Details
Attachments
(1 file, 1 obsolete file)
1.93 KB,
patch
|
Paenglab
:
review+
|
Details | Diff | Splinter Review |
With a narrow window when the category text is hidden, the icons aren't correctly centered on hover.
Assignee | ||
Comment 1•8 years ago
|
||
I tweaked some paddings/margins to make it like the Add-ons manager. I also followed bug 1388796 and made other changes I've overseen.
I also aligned the categories that they are at the same position as the Add-on categories. I added also a 10px padding on narrow window to the content to not touch the grey category area (FX doesn't need it because they don't made the area grey).
Jörg, open Add-on manager and prefs, then make the window as narrow that the category text is hidden. Now you can switch between Add-on manager and prefs and check if you see a position mismatch (small differences are expected as the icon shapes aren't the same). Hover the categories to see they are now correctly centered.
Comment 2•8 years ago
|
||
Comment on attachment 8901547 [details] [diff] [review]
PrefsSpacing.patch
Review of attachment 8901547 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good and add-on and in-content prefs pages behave the same now.
r+ with the comment below considered.
::: mail/themes/shared/mail/incontentprefs/aboutPreferences.css
@@ +151,4 @@
> }
>
> #preferencesContainer {
> + padding-inline-start: 10px;
Make that a little bigger, no? 20px or even the original distance of 28px?
Attachment #8901547 -
Flags: review?(jorgk) → review+
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #2)
> Comment on attachment 8901547 [details] [diff] [review]
> PrefsSpacing.patch
>
> Review of attachment 8901547 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good and add-on and in-content prefs pages behave the same now.
>
> r+ with the comment below considered.
>
> ::: mail/themes/shared/mail/incontentprefs/aboutPreferences.css
> @@ +151,4 @@
> > }
> >
> > #preferencesContainer {
> > + padding-inline-start: 10px;
>
> Make that a little bigger, no? 20px or even the original distance of 28px?
10px is the padding on the right the FX prefs have on narrow windows. With giving this at the left, we are even. I could live with 15px on both sides.
We shouldn't get too much white space in narrow windows to show the content without scrollbars as long as possible. Especially the "Advanced" pane is wide with it's tabs on top (and Mac is the widest with it's standard font).
Comment 4•8 years ago
|
||
Hmm, 10px looks disproportionally small. Let's try 15px.
Assignee | ||
Comment 5•8 years ago
|
||
Okay, with 15px padding.
Attachment #8901547 -
Attachment is obsolete: true
Attachment #8901549 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/19b1cdcc93f3
Fix spacing of in-content prefs with narrow window. r=jorgk
Updated•8 years ago
|
Target Milestone: --- → Thunderbird 57.0
You need to log in
before you can comment on or make changes to this bug.
Description
•