Closed Bug 426989 Opened 18 years ago Closed 18 years ago

Long sidebar on details page continues below footer

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: clouserw)

References

()

Details

Attachments

(2 files)

Attached image Add-ons list vs. footer
Add-ons where the author has a lot of other add-ons can result in the right sidebar continuing *below* the page footer. That looks quite odd. Expected behavior: The sidebar should push the footer as low as it needs to go in order not to conflict with the sidebar content.
Target Milestone: --- → 3.4
Assignee: nobody → craigcook.bugz
Target Milestone: 3.4 → 3.4.1
The sidebar is positioned with CSS and taken out of the natural document flow, so the footer (and indeed the rest of the page) doesn't make any accommodations for its size. I can rework the layout so it uses floated elements rather than positioning, since floats do affect the layout of adjacent elements and can push the footer down as needed. Hopefully the fix won't require any changes to the markup, just the style sheet.
What's the status on this? Do you need any help?
Unfortunately floated layouts dictate the source order of elements, so it doesn't seem like this is an easy fix. It'll require a more significant rebuild of the structural markup, which is probably beyond the scope of this release. Sorry about that. My interim suggestion would be to show a truncated list of the author's addons in the sidebar (which is how I interpreted the mockup when I was building the page). So maybe if the list is limited to a maximum of 5 or 10 (not sure how the 5 or 10 should be chosen... alphabetical, by popularity, random?) followed by a "more..." link that'll solve all our problems.
17:00 <@morgamic> could put everything in a auto-submit select list
(In reply to comment #4) > 17:00 <@morgamic> could put everything in a auto-submit select list I like the idea. How about if there are <= 3 add-ons in the list, we make a regular list, otherwise a dropdown.
Sounds good to me. Objections?
Assignee: craigcook.bugz → morgamic
Target Milestone: 3.4.1 → 3.4.2
Assignee: morgamic → clouserw
Attached patch add select listSplinter Review
This feels really hackish to me. I'd much rather fix the layout so it expands as necessary.
Attachment #320258 - Flags: review?(fwenzel)
Comment on attachment 320258 [details] [diff] [review] add select list select is off-center, but this'll work in the short term until we make larger template adjustments. thanks for adding the submit button.
Attachment #320258 - Flags: review?(fwenzel) → review+
fix is in r13063
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Verified FIXED; https://preview.addons.mozilla.org/en-US/firefox/addon/1932 is a good testcase. I also tested with JavaScript disabled, and it worked just fine (comment 8). Also tested that https://preview.addons.mozilla.org/en-US/firefox/addon/5207 (with only three add-ons, and thus, doesn't meet the condition to populate as a <select> correctly displays/works.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: