Closed Bug 506183 Opened 15 years ago Closed 15 years ago

Static scrollbar on right side of license pages

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Milos)

References

()

Details

Attachments

(2 files)

Attached image Screenshot
STR:

1. Load https://preview.addons.mozilla.org/en-US/firefox/versions/license/67938
2. Look at the scrollbar on the right

Expected Results:

No static scrollbar

Actual Results:

Scrollbar (see screenshot)
I can patch it, but I`ll need to use max-height again, `cos there`s an __overflow-y__ property now. Just for a reminder, max-height doesn`t work in IE6 and IE7, but if that is biggie, then we could add separate property(new one) to fix it for IE browsers
do we want a scrollbar at all (i.e., do we need overflow-y)? If we don't care how long the page is, we should remove that altogther. If we do care, we should indeed add max-height.

That it will render differently on IE is not a problem, as long as it does not look broken, Milos.
We should hear from clouserw on this matter, I think. But now I have took a closer look, and my previous comment does not work. We got both overflow-y and max-heoght properties, and i forgot that __overflow__ will always show scrollbar, but it will be disabled if content does not overflow the max-height(in our case).
We could try with overflow-y: auto;

I think that could help, but I`m not sure how will that work with other elements using this class.
Attached patch patch v1Splinter Review
Here`s a patch that works for me.
Attachment #390440 - Flags: review?(clouserw)
Attachment #390440 - Flags: review?(clouserw) → review+
Comment on attachment 390440 [details] [diff] [review]
patch v1

That looks good for me. I can commit it for you.
Wenzel, then please do, so we could try this immediately.
r30331. Thanks for fixing this, Milos!
Assignee: nobody → bmo
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Hardware: x86 → All
Resolution: --- → FIXED
Verified FIXED in Firefox 3.5.1; looks great using IE 7 and 8, too.

Milos, thanks again!
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: