Closed
Bug 1036434
Opened 10 years ago
Closed 9 years ago
In-content preferences doesn't show the complete scrollbar
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
People
(Reporter: sankha, Assigned: Kwan)
References
Details
Attachments
(3 files)
106.05 KB,
image/png
|
Details | |
868 bytes,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
Kwan
:
review-
|
Details | Diff | Splinter Review |
Open the in-content preferences tab, make the window a bit smaller so that the contents don't fit entirely. The scrollbar appears on the right as expected, but the end of the scrollbar is not seen entirely. Attached is a screenshot of the same.
Updated•10 years ago
|
Blocks: ship-incontent-prefs
Updated•10 years ago
|
Flags: firefox-backlog+
Updated•10 years ago
|
Points: --- → 3
Comment 2•10 years ago
|
||
Logically, setting (max-)height: 100%; on the <stack>, the <hbox>, and .main-content should work. But I've tested with the devtools, and there's some xul weirdness preventing us to do so.
Assignee | ||
Comment 3•9 years ago
|
||
This seems to be the fault of the #categories list on the left. Set its max-height to 100vh and presto, the scroll bar on the main-content works properly. As a bonus, "Advanced" and the other sections are now reachable in vertically-challenged windows (which I almost filed as a new bug). Unfortunately the #categories list then gets an ugly and unnecessary horizontal scroll, but that's fixable with an "overflow-x: hidden !important;" on its scrollbox child.
Comment 4•9 years ago
|
||
Comment on attachment 8554215 [details] [diff] [review] Fix display of #categories list This seems sane enough to me, and I can't find a better way to do this. It should really exist, but I bet that the stack and XUL's amazing magic are what make this work the way it does currently... some days, I can't wait for us to move to using HTML!
Attachment #8554215 -
Flags: feedback?(jaws) → review+
Updated•9 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 5•9 years ago
|
||
Oh, and for bonus points, please file a bug or update the patch to include removing the top margin/padding/whatever on that list for small window heights, because when the list is scrollable and the padding remains, it looks odd. :-)
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #5) > Oh, and for bonus points, please file a bug or update the patch to include > removing the top margin/padding/whatever on that list for small window > heights, because when the list is scrollable and the padding remains, it > looks odd. :-) Yeah I wasn't a fan of how that looked either. Fortunately easy enough to fix once I thought about it (and remembered I'd done something similar on the web recently)
Attachment #8554215 -
Attachment is obsolete: true
Attachment #8554942 -
Flags: review?(gijskruitbosch+bugs)
Comment 7•9 years ago
|
||
Comment on attachment 8554942 [details] [diff] [review] Fix display of #categories list v2, now with less padding Review of attachment 8554942 [details] [diff] [review]: ----------------------------------------------------------------- Matt, now with magic numbers to fix the padding at the top... any thoughts about how to avoid that, or whether we should leave them out altogether?
Attachment #8554942 -
Flags: review?(gijskruitbosch+bugs) → review?(MattN+bmo)
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #7) > Comment on attachment 8554942 [details] [diff] [review] > Fix display of #categories list v2, now with less padding > > Review of attachment 8554942 [details] [diff] [review]: > ----------------------------------------------------------------- > > Matt, now with magic numbers to fix the padding at the top... any thoughts > about how to avoid that, or whether we should leave them out altogether? The 280px in padding-top can be de-magicked with some var() usage, but the 319px in the media query is kind of stuck there without @medias supporting var(), as far as I can tell.
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8554942 [details] [diff] [review] Fix display of #categories list v2, now with less padding Actually, you want to know why this way is a bad idea? The new search pane. I wrote that patch against release via Stylish (and an en-GB one at that), and it doesn't work properly on en-US nightly because of the extra category. I'll do it as a follow up in a separate bug then, since it'll involve some JS (and more repetitive CSS than I'd like without Bug 968761, and @media queries taking calc(), or at least var())
Attachment #8554942 -
Flags: review?(MattN+bmo) → review-
Assignee | ||
Updated•9 years ago
|
Attachment #8554215 -
Attachment is obsolete: false
Comment 10•9 years ago
|
||
Thanks! remote: https://hg.mozilla.org/integration/fx-team/rev/25da9ba50d8d
Flags: qe-verify-
Flags: in-testsuite-
https://hg.mozilla.org/mozilla-central/rev/25da9ba50d8d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•9 years ago
|
Iteration: --- → 38.2 - 9 Feb
You need to log in
before you can comment on or make changes to this bug.
Description
•