Closed Bug 909770 Opened 12 years ago Closed 12 years ago

Make Fixed text plugin positions occupying entire container

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mjschranz, Assigned: thecount)

Details

(Whiteboard: popbetter)

Attachments

(1 file)

It's minor, but to make fixed positions work well ideally they shouldn't occupy the entire container. The correct solution will most likely involve some JS trickery to mimic the current work being done entirely with CSS.
Yeah, I'm thinking this too. We should just make fixed positions be pre set custom positions.
Ended up being easier than I thought. If I knew it was as easy as it was, I would of requested it be done in bug 905634 as it pretty much refactors the way we handle fixed positions, and thus no longer needs the changes in bug 905634. I did have to change 20px padding into a percentage, which, is never going to work. 20px padding is a broken number, as it'll never be the same if medai queries resize everything. I picked 3% as it closest resembles the previous 20px in a common screen size, my screen size :P
Attachment #796132 - Flags: review?(schranz.m)
Whiteboard: popbetter
Attachment #796132 - Flags: review?(schranz.m) → review+
Comment on attachment 796132 [details] [review] https://github.com/mozilla/popcorn.webmaker.org/pull/182 Found a bug while stagging :D If you set position to fixed, and try to drag it, it goes into a weird resize state. It is caused because my fixed position used right, instead of width, which causes jquery ui drag n drop to have fits.
Attachment #796132 - Flags: review+ → review?(schranz.m)
Comment on attachment 796132 [details] [review] https://github.com/mozilla/popcorn.webmaker.org/pull/182 Fixed one, answered the other. Let me know if the answer is enough.
Attachment #796132 - Flags: review- → review?(schranz.m)
Attachment #796132 - Flags: review?(schranz.m) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(scott)
Resolution: --- → FIXED
On production.
Status: RESOLVED → VERIFIED
Flags: needinfo?(scott)
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: